From a62f7183e4f121a66a7ab32b474d7c5b3f349286 Mon Sep 17 00:00:00 2001 From: Nick Khyl Date: Tue, 26 Nov 2024 13:11:55 -0600 Subject: [PATCH] cmd/tailscale/cli: fix format string Updates #12687 Signed-off-by: Nick Khyl --- cmd/tailscale/cli/syspolicy.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/tailscale/cli/syspolicy.go b/cmd/tailscale/cli/syspolicy.go index 06a19defb..0e903db39 100644 --- a/cmd/tailscale/cli/syspolicy.go +++ b/cmd/tailscale/cli/syspolicy.go @@ -98,9 +98,9 @@ func printPolicySettings(policy *setting.Snapshot) { origin = o.String() } 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 { - 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()