diff options
author | Tom Harvey <tombuildsstuff@users.noreply.github.com> | 2019-01-09 10:45:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-09 10:45:03 +0000 |
commit | 303b299eeb6b06e939e35905e4b34cb410dd9dc3 (patch) | |
tree | fbf4a9d15d29ef4272013b714580e9678083843f /statuscake/provider.go | |
parent | 9676fb99c312a3ba344b2ec0b9ef8b1ba7a46630 (diff) | |
parent | 689f520e1dae40936490b47043559d182a817c89 (diff) | |
download | terraform-provider-statuscake-303b299eeb6b06e939e35905e4b34cb410dd9dc3.tar.gz terraform-provider-statuscake-303b299eeb6b06e939e35905e4b34cb410dd9dc3.tar.zst terraform-provider-statuscake-303b299eeb6b06e939e35905e4b34cb410dd9dc3.zip |
Merge pull request #23 from terraform-providers/go1.11-upgrade-2019-01-07
[AUTOMATED] Upgrade to Go 1.11
Diffstat (limited to 'statuscake/provider.go')
-rw-r--r-- | statuscake/provider.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 ( | |||
9 | func Provider() terraform.ResourceProvider { | 9 | func Provider() terraform.ResourceProvider { |
10 | return &schema.Provider{ | 10 | return &schema.Provider{ |
11 | Schema: map[string]*schema.Schema{ | 11 | Schema: map[string]*schema.Schema{ |
12 | "username": &schema.Schema{ | 12 | "username": { |
13 | Type: schema.TypeString, | 13 | Type: schema.TypeString, |
14 | Required: true, | 14 | Required: true, |
15 | DefaultFunc: schema.EnvDefaultFunc("STATUSCAKE_USERNAME", nil), | 15 | DefaultFunc: schema.EnvDefaultFunc("STATUSCAKE_USERNAME", nil), |
16 | Description: "Username for StatusCake Account.", | 16 | Description: "Username for StatusCake Account.", |
17 | }, | 17 | }, |
18 | "apikey": &schema.Schema{ | 18 | "apikey": { |
19 | Type: schema.TypeString, | 19 | Type: schema.TypeString, |
20 | Required: true, | 20 | Required: true, |
21 | DefaultFunc: schema.EnvDefaultFunc("STATUSCAKE_APIKEY", nil), | 21 | DefaultFunc: schema.EnvDefaultFunc("STATUSCAKE_APIKEY", nil), |