From 6d64107f26709b480bd2123ec5e9362511885f4b Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sun, 18 Apr 2021 19:29:53 -0700 Subject: [PATCH] types/netmap: remove some old TODOs Signed-off-by: Brad Fitzpatrick --- types/netmap/netmap.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/types/netmap/netmap.go b/types/netmap/netmap.go index 5bf1441ac..a97d87b73 100644 --- a/types/netmap/netmap.go +++ b/types/netmap/netmap.go @@ -57,11 +57,8 @@ type NetworkMap struct { User tailcfg.UserID Domain string - // TODO(crawshaw): reduce UserProfiles to []tailcfg.UserProfile? - // There are lots of ways to slice this data, leave it up to users. + UserProfiles map[tailcfg.UserID]tailcfg.UserProfile - // TODO(crawshaw): Groups []tailcfg.Group - // TODO(crawshaw): Capabilities []tailcfg.Capability } // MagicDNSSuffix returns the domain's MagicDNS suffix (even if