Skip to content

Commit bc70fc1

Browse files
author
Ashleigh Crosby
committed
revert to earlier version
1 parent 44fb838 commit bc70fc1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cloudstack/resource_cloudstack_vpc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ func resourceCloudStackVPCCreate(d *schema.ResourceData, meta interface{}) error
117117

118118
// Create a new parameter struct
119119
p := cs.VPC.NewCreateVPCParams(
120+
d.Get("cidr").(string),
120121
displaytext.(string),
121122
name,
122123
vpcofferingid,
123124
zoneid,
124125
)
125-
p.SetCidr(d.Get("cidr").(string))
126126

127127
// If there is a network domain supplied, make sure to add it to the request
128128
if networkDomain, ok := d.GetOk("network_domain"); ok {

0 commit comments

Comments
 (0)