Procházet zdrojové kódy

fix cloudwatch alert bug

Mitsuhiro Tanda před 8 roky
rodič
revize
8d6513a564
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      pkg/tsdb/cloudwatch/cloudwatch.go

+ 1 - 1
pkg/tsdb/cloudwatch/cloudwatch.go

@@ -94,7 +94,7 @@ func (e *CloudWatchExecutor) executeTimeSeriesQuery(ctx context.Context, queryCo
 	currentlyExecuting := 0
 	for i, model := range queryContext.Queries {
 		queryType := model.Model.Get("type").MustString()
-		if queryType != "timeSeriesQuery" {
+		if queryType != "timeSeriesQuery" && queryType != "" {
 			continue
 		}
 		currentlyExecuting++