summaryrefslogtreecommitdiffhomepage
path: root/types/netmap/nodemut_test.go
diff options
context:
space:
mode:
authorMarwan Sulaiman <marwan@tailscale.com>2023-12-01 02:39:14 -0500
committerMarwan Sulaiman <marwan@tailscale.com>2023-12-01 03:04:35 -0500
commit8092eaed805ec2baac601e5a93ed4fe2fbad4a80 (patch)
treef9217bcfa64c2e20500339fce70382a686152762 /types/netmap/nodemut_test.go
parentb819f66eb1efab85dcf5550d4f0da92fb7ab2551 (diff)
downloadtailscale-marwan/displayname.tar.xz
tailscale-marwan/displayname.zip
ipn/ipnlocal,others: add tailnet display name to user profilemarwan/displayname
This PR adds the new editable display name for a tailnet which will be the preferred display in client UIs and CLIs when fast user switching between profiles. Updates #9286 Signed-off-by: Marwan Sulaiman <marwan@tailscale.com>
Diffstat (limited to 'types/netmap/nodemut_test.go')
-rw-r--r--types/netmap/nodemut_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/types/netmap/nodemut_test.go b/types/netmap/nodemut_test.go
index f11a303af..353f9524a 100644
--- a/types/netmap/nodemut_test.go
+++ b/types/netmap/nodemut_test.go
@@ -45,7 +45,7 @@ func TestMapResponseContainsNonPatchFields(t *testing.T) {
var want bool
switch f.Name {
- case "MapSessionHandle", "Seq", "KeepAlive", "PingRequest", "PopBrowserURL", "ControlTime":
+ case "MapSessionHandle", "Seq", "KeepAlive", "PingRequest", "PopBrowserURL", "ControlTime", "DisplayName":
// There are meta fields that apply to all MapResponse values.
// They should be ignored.
want = false