Skip to content

Commit

Permalink
resolve reporterFlag string handler using Sprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
xanish committed Oct 23, 2024
1 parent 526c3e8 commit 02b49a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/validator/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type validatorConfig struct {
type reporterFlags []string

func (rf *reporterFlags) String() string {
return fmt.Sprintf("%v", *rf)
return fmt.Sprint(*rf)
}

func (rf *reporterFlags) Set(value string) error {
Expand Down

0 comments on commit 02b49a3

Please sign in to comment.