This commit is contained in:
pinglanlu 2024-11-18 13:50:33 +01:00 committed by GitHub
commit 7fe0f053ca
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.