Browse Source

chore(vet): fixes invalid fmt.Sprintf format

bergquist 9 năm trước cách đây
mục cha
commit
c05bc0cb17
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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),
 			})
 		}