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 <tazjin@tvl.su>
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
Florian Klink 2024-05-27 09:44:55 +02:00 committed by clbot
parent 6fb542aae6
commit 60f189897e

View file

@ -51,7 +51,7 @@ func init() {
type stringSetFlag map[string]bool type stringSetFlag map[string]bool
func (f stringSetFlag) String() string { 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 { func (f stringSetFlag) Set(s string) error {
if s == "" { if s == "" {