We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9cf446 commit 0e1240aCopy full SHA for 0e1240a
grafana/provider.go
@@ -58,7 +58,7 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) {
58
cli.Transport = logging.NewTransport("Grafana", cli.Transport)
59
cfg := gapi.Config{
60
Client: cli,
61
- OrgID: d.Get("org_id").(int64),
+ OrgID: int64(d.Get("org_id").(int)),
62
}
63
if len(auth) == 2 {
64
cfg.BasicAuth = url.UserPassword(auth[0], auth[1])
0 commit comments