This commit is contained in:
pinglanlu 2024-11-23 01:31:52 +08:00 committed by GitHub
commit b8ba01fe54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -637,7 +637,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.