Skip to content

Commit

Permalink
Don't require vsphere debug paths to be set
Browse files Browse the repository at this point in the history
The change to add govmomi debug paths (hashicorp#6893) required user input even
when the env was not set. This change defaults those values appropriately.
  • Loading branch information
markpeek committed Jun 6, 2016
1 parent a1021f3 commit 05de3bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builtin/providers/vsphere/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ func Provider() terraform.ResourceProvider {
"client_debug_path_run": &schema.Schema{
Type: schema.TypeString,
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("VSPHERE_CLIENT_DEBUG_PATH_RUN", nil),
DefaultFunc: schema.EnvDefaultFunc("VSPHERE_CLIENT_DEBUG_PATH_RUN", ""),
Description: "govomomi debug path for a single run",
},
"client_debug_path": &schema.Schema{
Type: schema.TypeString,
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("VSPHERE_CLIENT_DEBUG_PATH", nil),
DefaultFunc: schema.EnvDefaultFunc("VSPHERE_CLIENT_DEBUG_PATH", ""),
Description: "govomomi debug path for debug",
},
},
Expand Down

0 comments on commit 05de3bc

Please sign in to comment.