Explorar el Código

chore(vet): fixes invalid fmt.Sprintf format

bergquist hace 9 años
padre
commit
c05bc0cb17
Se han modificado 1 ficheros con 1 adiciones y 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),
 			})
 		}