From 689f520e1dae40936490b47043559d182a817c89 Mon Sep 17 00:00:00 2001 From: Alex Pilon Date: Mon, 7 Jan 2019 18:04:34 -0500 Subject: provider: Require Go 1.11 in TravisCI and README provider: Run go fix provider: Run go fmt --- statuscake/provider.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'statuscake') diff --git a/statuscake/provider.go b/statuscake/provider.go index abca376..93c691f 100644 --- a/statuscake/provider.go +++ b/statuscake/provider.go @@ -9,13 +9,13 @@ import ( func Provider() terraform.ResourceProvider { return &schema.Provider{ Schema: map[string]*schema.Schema{ - "username": &schema.Schema{ + "username": { Type: schema.TypeString, Required: true, DefaultFunc: schema.EnvDefaultFunc("STATUSCAKE_USERNAME", nil), Description: "Username for StatusCake Account.", }, - "apikey": &schema.Schema{ + "apikey": { Type: schema.TypeString, Required: true, DefaultFunc: schema.EnvDefaultFunc("STATUSCAKE_APIKEY", nil), -- cgit v1.2.3