فهرست منبع

fix cloudwatch alert bug

Mitsuhiro Tanda 8 سال پیش
والد
کامیت
8d6513a564
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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++