]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blobdiff - provider.go
Added some acceptance tests for the statuscake provider
[github/fretlink/terraform-provider-statuscake.git] / provider.go
index 7d96e0ebf987255dd0ac1f3688afca8ecfaa1263..abca37698274568c5ddc4d84d1c18ba5aa4db892 100644 (file)
@@ -1,7 +1,7 @@
 package statuscake
 
 import (
-       wtf "github.com/DreamItGetIT/statuscake"
+       "github.com/DreamItGetIT/statuscake"
        "github.com/hashicorp/terraform/helper/schema"
        "github.com/hashicorp/terraform/terraform"
 )
@@ -32,9 +32,9 @@ func Provider() terraform.ResourceProvider {
 }
 
 func providerConfigure(d *schema.ResourceData) (interface{}, error) {
-       auth := wtf.Auth{
+       auth := statuscake.Auth{
                Username: d.Get("username").(string),
                Apikey:   d.Get("apikey").(string),
        }
-       return wtf.New(auth)
+       return statuscake.New(auth)
 }