mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-18 20:51:45 +00:00
cmd/tailscale/cli: fix bug in earlier tailscale debug --local-creds addition
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
3f456ba2e7
commit
d4b609e138
@ -57,10 +57,9 @@ func runDebug(ctx context.Context, args []string) error {
|
|||||||
}
|
}
|
||||||
if runtime.GOOS == "windows" {
|
if runtime.GOOS == "windows" {
|
||||||
fmt.Printf("curl http://localhost:41112/localapi/v0/status\n")
|
fmt.Printf("curl http://localhost:41112/localapi/v0/status\n")
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
if runtime.GOOS == "windows" {
|
fmt.Printf("curl --unix-socket %s http://foo/localapi/v0/status\n", paths.DefaultTailscaledSocket())
|
||||||
fmt.Printf("curl --unix-socket %s http://foo/localapi/v0/status\n", paths.DefaultTailscaledSocket())
|
|
||||||
}
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if debugArgs.goroutines {
|
if debugArgs.goroutines {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user