mirror of
https://github.com/tailscale/tailscale.git
synced 2026-05-10 16:14:54 -04:00
envknob/logknob: remove unused package (#19515)
Added in 2023 and appears to be unused. Updates #cleanup Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
This commit is contained in:
@@ -312,13 +312,6 @@ func (nm *NetworkMap) TailnetDisplayName() string {
|
||||
return tailnetDisplayNames[0]
|
||||
}
|
||||
|
||||
// HasSelfCapability reports whether nm.SelfNode contains capability c.
|
||||
//
|
||||
// It exists to satisify an unused (as of 2025-01-04) interface in the logknob package.
|
||||
func (nm *NetworkMap) HasSelfCapability(c tailcfg.NodeCapability) bool {
|
||||
return nm.AllCaps.Contains(c)
|
||||
}
|
||||
|
||||
func (nm *NetworkMap) String() string {
|
||||
return nm.Concise()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user