From 43a2a58a879cfc1414c498c3766ba9772615cf14 Mon Sep 17 00:00:00 2001 From: Alex Kahn Date: Thu, 2 Aug 2018 13:30:19 -0500 Subject: [PATCH] Fix API base URL --- appoptics/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appoptics/provider.go b/appoptics/provider.go index 9f5f7a6..0b7053b 100644 --- a/appoptics/provider.go +++ b/appoptics/provider.go @@ -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