This commit is contained in:
pinglanlu 2024-11-24 20:46:35 +11:00 committed by GitHub
commit 0c9a34fcef
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 &nm, err
return &nm, nil
}
// Netmap returns the current Netmap (netmap.NetworkMap) of the Tailscale instance.