fix parameter format

This commit is contained in:
Mitsuhiro Tanda 2017-09-25 12:58:47 +09:00
parent 17445e0c98
commit 8f3b060946

View File

@ -160,7 +160,7 @@ func (e *CloudWatchExecutor) executeMetricFindQuery(ctx context.Context, queryCo
firstQuery := queryContext.Queries[0]
queryResult := &tsdb.QueryResult{Meta: simplejson.New(), RefId: firstQuery.RefId}
parameters := firstQuery.Model.Get("parameters")
parameters := firstQuery.Model
subType := firstQuery.Model.Get("subtype").MustString()
var data []suggestData
var err error