From 58e4a66b425383f7472b68833f7c41b56092562b Mon Sep 17 00:00:00 2001 From: pinglanlu Date: Tue, 12 Nov 2024 14:22:35 +0800 Subject: [PATCH] Use a more direct and less error-prone return value Signed-off-by: pinglanlu --- integration/tsic/tsic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/tsic/tsic.go b/integration/tsic/tsic.go index 944bb94d..2ef644eb 100644 --- a/integration/tsic/tsic.go +++ b/integration/tsic/tsic.go @@ -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.