Merge pull request #12203 from jgriffiths1993/subnetid-vip

Pass SubnetID to vips.Create()
This commit is contained in:
Filip Grzadkowski
2015-08-11 10:59:56 +02:00

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 != nil {