Commit eecbdc89 by Mitsuhiro Tanda

fix, set default highResolution setting

parent 18c54a93
...@@ -293,10 +293,7 @@ func parseQuery(model *simplejson.Json) (*CloudWatchQuery, error) { ...@@ -293,10 +293,7 @@ func parseQuery(model *simplejson.Json) (*CloudWatchQuery, error) {
alias = "{{metric}}_{{stat}}" alias = "{{metric}}_{{stat}}"
} }
highResolution, err := model.Get("highResolution").Bool() highResolution := model.Get("highResolution").MustBool(false)
if err != nil {
return nil, err
}
return &CloudWatchQuery{ return &CloudWatchQuery{
Region: region, Region: region,
......
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