ssh/tailssh: fix integration test (#12562)

Updates#cleanup

Signed-off-by: Irbe Krumina <irbe@tailscale.com>
This commit is contained in:
Irbe Krumina 2024-06-20 19:30:19 +01:00 committed by GitHub
parent fd3efd9bad
commit 07063bc5c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -611,7 +611,7 @@ func (tb *testBackend) NetMap() *netmap.NetworkMap {
}
}
func (tb *testBackend) WhoIs(ipp netip.AddrPort) (n tailcfg.NodeView, u tailcfg.UserProfile, ok bool) {
func (tb *testBackend) WhoIs(_ string, ipp netip.AddrPort) (n tailcfg.NodeView, u tailcfg.UserProfile, ok bool) {
return (&tailcfg.Node{}).View(), tailcfg.UserProfile{
LoginName: tb.localUser + "@example.com",
}, true