fix message
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
@@ -113,6 +113,5 @@ func run(args []string) *checkers.Checker {
result = checkers.CRITICAL
}
- msg := fmt.Sprintf(queueStr)
- return checkers.NewChecker(result, msg)
+ return checkers.NewChecker(result, queueStr)
}
