mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-05 15:55:49 +00:00
cmd/tailscale/cli: fix format string
Updates #12687 Signed-off-by: Nick Khyl <nickk@tailscale.com>
This commit is contained in:
parent
26de518413
commit
a62f7183e4
@ -98,9 +98,9 @@ func printPolicySettings(policy *setting.Snapshot) {
|
|||||||
origin = o.String()
|
origin = o.String()
|
||||||
}
|
}
|
||||||
if err := setting.Error(); err != nil {
|
if err := setting.Error(); err != nil {
|
||||||
fmt.Fprintf(w, "%s\t%s\t\t{%s}\n", k, origin, err)
|
fmt.Fprintf(w, "%s\t%s\t\t{%v}\n", k, origin, err)
|
||||||
} else {
|
} else {
|
||||||
fmt.Fprintf(w, "%s\t%s\t%s\t\n", k, origin, setting.Value())
|
fmt.Fprintf(w, "%s\t%s\t%v\t\n", k, origin, setting.Value())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
w.Flush()
|
w.Flush()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user