about summary refs log tree commit diff
path: root/fun/clbot
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-05-27T07·44+0200
committerclbot <clbot@tvl.fyi>2024-05-27T08·20+0000
commit60f189897e304cea4d8d63d8eda9afa6150e7288 (patch)
tree72de31464c6277681ddef128e2d09f11d928af9d /fun/clbot
parent6fb542aae6c52b70f4e8b2f92c629bf7a48182d1 (diff)
fix(fun/clbot): address sprintf warning r/8177
%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 <tazjin@tvl.su>
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'fun/clbot')
-rw-r--r--fun/clbot/clbot.go2
1 files changed, 1 insertions, 1 deletions
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 == "" {