Compare commits

...

2 commits

Author SHA1 Message Date
pinglanlu
7871d07fbc
Merge 58e4a66b42 into a7874af3d0 2024-11-16 18:11:09 -05:00
pinglanlu
58e4a66b42 Use a more direct and less error-prone return value
Signed-off-by: pinglanlu <pinglanlu@outlook.com>
2024-11-12 14:22:35 +08:00

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 &nm, err
return &nm, nil
}
// Netmap returns the current Netmap (netmap.NetworkMap) of the Tailscale instance.