cmd/tailscale/cli: fix exit node status output (#11076)

This change fixes the format of tailscale status output when location
based exit nodes are present.

Fixes #11065

Signed-off-by: Charlotte Brandhorst-Satzkorn <charlotte@tailscale.com>
pull/11080/head
Charlotte Brandhorst-Satzkorn 10 months ago committed by GitHub
parent 6c79f55d48
commit 0f042b9814
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -228,8 +228,8 @@ func runStatus(ctx context.Context, args []string) error {
}
Stdout.Write(buf.Bytes())
if locBasedExitNode {
println()
println("# To see the full list of exit nodes, including location-based exit nodes, run `tailscale exit-node list` \n")
outln()
printf("# To see the full list of exit nodes, including location-based exit nodes, run `tailscale exit-node list` \n")
}
if len(st.Health) > 0 {
outln()

Loading…
Cancel
Save