mirror of
https://github.com/grafana/grafana.git
synced 2024-12-02 05:29:42 -06:00
ef441f02d0
Fix unexpected error when creating a new cloudwatch datasource. Involves a fair amount of refactoring, so if this causes unexpected issues related to region fetching we can turn this off with the cloudwatchNewRegionsHandler feature toggle, although we do not predict it will so we are enabling it to default to true and hope to remove it shortly.
8 lines
129 B
Go
8 lines
129 B
Go
package models
|
|
|
|
import "fmt"
|
|
|
|
// put misc expected user errors here
|
|
|
|
var ErrMissingRegion = fmt.Errorf("missing default region")
|