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:
Andrew Lytvynov
2026-04-24 15:48:06 -07:00
committed by GitHub
parent 1b40911611
commit 323198b348
3 changed files with 0 additions and 189 deletions

View File

@@ -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()
}