Skip to content

Commit

Permalink
Merge pull request kubernetes#12262 from jgriffiths1993/hf-12261
Browse files Browse the repository at this point in the history
Replace Port with NodePort for creating LB members
  • Loading branch information
roberthbailey committed Aug 18, 2015
2 parents f94f6c4 + a9aa2c6 commit ca168ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/openstack/openstack.go
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,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 {
Expand Down

0 comments on commit ca168ce

Please sign in to comment.