Skip to content

Commit

Permalink
fix: Make basepath really optional
Browse files Browse the repository at this point in the history
  • Loading branch information
smutel committed Apr 8, 2021
1 parent 827cdeb commit 37957ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func Provider() *schema.Provider {
},
"basepath": {
Type: schema.TypeString,
Required: false,
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("NETBOX_BASEPATH", client.DefaultBasePath),
Description: "URL path to the netbox API.",
},
Expand Down

0 comments on commit 37957ea

Please sign in to comment.