From 7dec75fcd796fa25f655c1f1cda2d202f117eb4b Mon Sep 17 00:00:00 2001 From: stack72 Date: Sat, 3 Oct 2015 23:11:26 +0100 Subject: Adding the update and read functionality for the statuscake client --- provider.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'provider.go') diff --git a/provider.go b/provider.go index abca376..7d96e0e 100644 --- a/provider.go +++ b/provider.go @@ -1,7 +1,7 @@ package statuscake import ( - "github.com/DreamItGetIT/statuscake" + wtf "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 := statuscake.Auth{ + auth := wtf.Auth{ Username: d.Get("username").(string), Apikey: d.Get("apikey").(string), } - return statuscake.New(auth) + return wtf.New(auth) } -- cgit v1.2.3