Commit eecbdc89 by Mitsuhiro Tanda

fix, set default highResolution setting

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