Merge pull request #7616 from hpcloud/admin_state_default

Setting admin_state_up default to true
This commit is contained in:
Joe Topjian 2016-07-12 21:35:07 -06:00 committed by GitHub
commit 8c6d71daf6
5 changed files with 5 additions and 0 deletions

View File

@ -96,6 +96,7 @@ func resourceListenerV2() *schema.Resource {
"admin_state_up": &schema.Schema{ "admin_state_up": &schema.Schema{
Type: schema.TypeBool, Type: schema.TypeBool,
Default: true,
Optional: true, Optional: true,
}, },

View File

@ -59,6 +59,7 @@ func resourceLoadBalancerV2() *schema.Resource {
"admin_state_up": &schema.Schema{ "admin_state_up": &schema.Schema{
Type: schema.TypeBool, Type: schema.TypeBool,
Default: true,
Optional: true, Optional: true,
}, },

View File

@ -73,6 +73,7 @@ func resourceMemberV2() *schema.Resource {
"admin_state_up": &schema.Schema{ "admin_state_up": &schema.Schema{
Type: schema.TypeBool, Type: schema.TypeBool,
Default: true,
Optional: true, Optional: true,
}, },

View File

@ -79,6 +79,7 @@ func resourceMonitorV2() *schema.Resource {
}, },
"admin_state_up": &schema.Schema{ "admin_state_up": &schema.Schema{
Type: schema.TypeBool, Type: schema.TypeBool,
Default: true,
Optional: true, Optional: true,
}, },

View File

@ -116,6 +116,7 @@ func resourcePoolV2() *schema.Resource {
"admin_state_up": &schema.Schema{ "admin_state_up": &schema.Schema{
Type: schema.TypeBool, Type: schema.TypeBool,
Default: true,
Optional: true, Optional: true,
}, },