mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix, set default highResolution setting
This commit is contained in:
parent
18c54a9341
commit
eecbdc89eb
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user