From 60f189897e304cea4d8d63d8eda9afa6150e7288 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Mon, 27 May 2024 09:44:55 +0200 Subject: fix(fun/clbot): address sprintf warning %q is only defined for maps containing booleans, not strings. It should be OK to use %v here. Change-Id: I7475eb89032653a588ecdf70809eb35bbe7e04ab Reviewed-on: https://cl.tvl.fyi/c/depot/+/11730 Reviewed-by: tazjin Tested-by: BuildkiteCI Autosubmit: flokli --- fun/clbot/clbot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fun/clbot/clbot.go') diff --git a/fun/clbot/clbot.go b/fun/clbot/clbot.go index e5a5990ef25a..72a7f5634332 100644 --- a/fun/clbot/clbot.go +++ b/fun/clbot/clbot.go @@ -51,7 +51,7 @@ func init() { type stringSetFlag map[string]bool func (f stringSetFlag) String() string { - return fmt.Sprintf("%q", map[string]bool(f)) + return fmt.Sprintf("%v", map[string]bool(f)) } func (f stringSetFlag) Set(s string) error { if s == "" { -- cgit 1.4.1