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:
parent
6fb542aae6
commit
60f189897e
1 changed files with 1 additions and 1 deletions
|
@ -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 == "" {
|
||||
|
|
Loading…
Reference in a new issue