Replace Port with NodePort for creating LB members

This commit is contained in:
Joshua Griffiths 2015-08-05 10:34:12 +01:00
parent 573f9d43e2
commit faeddf6553
1 changed files with 1 additions and 1 deletions

View File

@ -586,7 +586,7 @@ func (lb *LoadBalancer) CreateTCPLoadBalancer(name, region string, externalIP ne
_, err = members.Create(lb.network, members.CreateOpts{
PoolID: pool.ID,
ProtocolPort: ports[0].Port, //TODO: need to handle multi-port
ProtocolPort: ports[0].NodePort, //TODO: need to handle multi-port
Address: addr,
}).Extract()
if err != nil {