Skip to content

Commit

Permalink
fix: Fix issue when using http as scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
smutel committed Jun 25, 2020
1 parent d17a3b2 commit 0171927
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions netbox/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ func Provider() *schema.Provider {
"scheme": {
Type: schema.TypeString,
Optional: true,
Default: "https",
DefaultFunc: schema.EnvDefaultFunc("NETBOX_SCHEME", ""),
DefaultFunc: schema.EnvDefaultFunc("NETBOX_SCHEME", "https"),
Description: "Sheme used to reach netbox application.",
},
},
Expand Down

0 comments on commit 0171927

Please sign in to comment.