Skip to content

Commit

Permalink
Networking v2: Revert validation of fixed_ip ip_address (#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtopjian committed Feb 14, 2019
1 parent 9a76569 commit fac22aa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions openstack/resource_openstack_networking_port_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"github.com/gophercloud/gophercloud/openstack/networking/v2/ports"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/helper/validation"
)

func resourceNetworkingPortV2() *schema.Resource {
Expand Down Expand Up @@ -114,9 +113,8 @@ func resourceNetworkingPortV2() *schema.Resource {
Required: true,
},
"ip_address": {
Type: schema.TypeString,
Optional: true,
ValidateFunc: validation.SingleIP(),
Type: schema.TypeString,
Optional: true,
},
},
},
Expand Down

0 comments on commit fac22aa

Please sign in to comment.