Don't require vsphere debug paths to be set (#7027)

The change to add govmomi debug paths (#6893) required user input even
when the env was not set. This change defaults those values appropriately.
This commit is contained in:
Mark Peek 2016-06-07 08:16:04 -07:00 committed by Paul Stack
parent 72bba5f308
commit 74d5db4f3e
1 changed files with 2 additions and 2 deletions

View File

@ -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",
},
},