Explorar o código

chore(vet): fixes invalid fmt.Sprintf format

bergquist %!s(int64=9) %!d(string=hai) anos
pai
achega
c05bc0cb17
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pkg/services/alerting/conditions/query.go

+ 1 - 1
pkg/services/alerting/conditions/query.go

@@ -78,7 +78,7 @@ func (c *QueryCondition) Eval(context *alerting.EvalContext) (*alerting.Conditio
 
 		if context.IsTestRun {
 			context.Logs = append(context.Logs, &alerting.ResultLogEntry{
-				Message: fmt.Sprintf("Condition[%d]: Eval: %v, Query Returned No Series (reduced to null/no value)", evalMatch),
+				Message: fmt.Sprintf("Condition: Eval: %v, Query Returned No Series (reduced to null/no value)", evalMatch),
 			})
 		}