cmd/tailscale: fix 'debug local-creds' hostname

Fixes #6446

Change-Id: I82f0a3dcf6aca25b7f67265533ee30a9d939d86f
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick 2022-11-23 09:44:50 -08:00 committed by Brad Fitzpatrick
parent ec790e58df
commit 5f6fec0eba

View File

@ -258,7 +258,7 @@ func runLocalCreds(ctx context.Context, args []string) error {
printf("curl http://localhost:%v/localapi/v0/status\n", safesocket.WindowsLocalPort)
return nil
}
printf("curl --unix-socket %s http://foo/localapi/v0/status\n", paths.DefaultTailscaledSocket())
printf("curl --unix-socket %s http://local-tailscaled.sock/localapi/v0/status\n", paths.DefaultTailscaledSocket())
return nil
}