This commit is contained in:
pinglanlu 2024-11-16 18:11:09 -05:00 committed by GitHub
commit 7871d07fbc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -589,7 +589,7 @@ func (t *TailscaleInContainer) Netmap() (*netmap.NetworkMap, error) {
return nil, fmt.Errorf("saving netmap to /tmp/control: %w", err) return nil, fmt.Errorf("saving netmap to /tmp/control: %w", err)
} }
return &nm, err return &nm, nil
} }
// Netmap returns the current Netmap (netmap.NetworkMap) of the Tailscale instance. // Netmap returns the current Netmap (netmap.NetworkMap) of the Tailscale instance.