Skip to content

Commit

Permalink
Fix API base URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Kahn committed Aug 2, 2018
1 parent 4a7a560 commit 43a2a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appoptics/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) {
if appOpticsUrl := os.Getenv("APPOPTICS_URL"); appOpticsUrl != "" {
url, _ = url.Parse(appOpticsUrl)
} else {
url, _ = url.Parse("https://api.appoptics.com/v1/measurements/v1")
url, _ = url.Parse("https://api.appoptics.com/v1/")
}
client := librato.NewClientWithBaseURL(url, "token", d.Get("token").(string))
return client, nil
Expand Down

0 comments on commit 43a2a58

Please sign in to comment.