aboutsummaryrefslogtreecommitdiffhomepage
path: root/provider.go
diff options
context:
space:
mode:
Diffstat (limited to 'provider.go')
-rw-r--r--provider.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/provider.go b/provider.go
index abca376..7d96e0e 100644
--- a/provider.go
+++ b/provider.go
@@ -1,7 +1,7 @@
1package statuscake 1package statuscake
2 2
3import ( 3import (
4 "github.com/DreamItGetIT/statuscake" 4 wtf "github.com/DreamItGetIT/statuscake"
5 "github.com/hashicorp/terraform/helper/schema" 5 "github.com/hashicorp/terraform/helper/schema"
6 "github.com/hashicorp/terraform/terraform" 6 "github.com/hashicorp/terraform/terraform"
7) 7)
@@ -32,9 +32,9 @@ func Provider() terraform.ResourceProvider {
32} 32}
33 33
34func providerConfigure(d *schema.ResourceData) (interface{}, error) { 34func providerConfigure(d *schema.ResourceData) (interface{}, error) {
35 auth := statuscake.Auth{ 35 auth := wtf.Auth{
36 Username: d.Get("username").(string), 36 Username: d.Get("username").(string),
37 Apikey: d.Get("apikey").(string), 37 Apikey: d.Get("apikey").(string),
38 } 38 }
39 return statuscake.New(auth) 39 return wtf.New(auth)
40} 40}