Commit 8d6513a5 by Mitsuhiro Tanda

fix cloudwatch alert bug

parent 5e88177f
...@@ -94,7 +94,7 @@ func (e *CloudWatchExecutor) executeTimeSeriesQuery(ctx context.Context, queryCo ...@@ -94,7 +94,7 @@ func (e *CloudWatchExecutor) executeTimeSeriesQuery(ctx context.Context, queryCo
currentlyExecuting := 0 currentlyExecuting := 0
for i, model := range queryContext.Queries { for i, model := range queryContext.Queries {
queryType := model.Model.Get("type").MustString() queryType := model.Model.Get("type").MustString()
if queryType != "timeSeriesQuery" { if queryType != "timeSeriesQuery" && queryType != "" {
continue continue
} }
currentlyExecuting++ currentlyExecuting++
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment