From 8d6513a56490ccf61dcf59149f866667d38aa2c0 Mon Sep 17 00:00:00 2001 From: Mitsuhiro Tanda Date: Thu, 28 Sep 2017 03:00:17 +0900 Subject: [PATCH] fix cloudwatch alert bug --- pkg/tsdb/cloudwatch/cloudwatch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tsdb/cloudwatch/cloudwatch.go b/pkg/tsdb/cloudwatch/cloudwatch.go index 081edcccbe5..266b71ec14e 100644 --- a/pkg/tsdb/cloudwatch/cloudwatch.go +++ b/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++