Pass SubnetID to vips.Create()

This commit is contained in:
Joshua Griffiths 2015-08-04 14:41:08 +01:00
parent 6129d3d4eb
commit c911df6b46

View File

@ -622,6 +622,7 @@ func (lb *LoadBalancer) CreateTCPLoadBalancer(name, region string, externalIP ne
Protocol: "TCP",
ProtocolPort: ports[0].Port, //TODO: need to handle multi-port
PoolID: pool.ID,
SubnetID: lb.opts.SubnetId,
Persistence: persistence,
}
if !externalIP.IsUnspecified() {