Pass SubnetID to vips.Create()

pull/6/head
Joshua Griffiths 2015-08-04 14:41:08 +01:00
parent 6129d3d4eb
commit c911df6b46
1 changed files with 1 additions and 0 deletions

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() {