Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
~ fix default func for deprecated api urls as params
Browse files Browse the repository at this point in the history
  • Loading branch information
lipovmi committed Apr 12, 2022
1 parent 902ea23 commit 39808d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gcore/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func Provider() *schema.Provider {
Type: schema.TypeString,
Optional: true,
Description: "Platform URL is used for generate JWT",
DefaultFunc: schema.EnvDefaultFunc("GCORE_PLATFORM_API", ""),
DefaultFunc: schema.EnvDefaultFunc("GCORE_PLATFORM_API", nil),
},
"gcore_api": {
Type: schema.TypeString,
Expand All @@ -86,7 +86,7 @@ func Provider() *schema.Provider {
Type: schema.TypeString,
Optional: true,
Description: "Region API",
DefaultFunc: schema.EnvDefaultFunc("GCORE_CLOUD_API", ""),
DefaultFunc: schema.EnvDefaultFunc("GCORE_CLOUD_API", nil),
},
"gcore_cdn_api": {
Type: schema.TypeString,
Expand Down

0 comments on commit 39808d6

Please sign in to comment.