From a9aa2c6acc4f8714aecd9f84845b99d1b4fb54b6 Mon Sep 17 00:00:00 2001 From: Joshua Griffiths Date: Wed, 5 Aug 2015 10:34:12 +0100 Subject: [PATCH] Replace Port with NodePort for creating LB members --- pkg/cloudprovider/providers/openstack/openstack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cloudprovider/providers/openstack/openstack.go b/pkg/cloudprovider/providers/openstack/openstack.go index 47ca3a165363b..aeb3a00308273 100644 --- a/pkg/cloudprovider/providers/openstack/openstack.go +++ b/pkg/cloudprovider/providers/openstack/openstack.go @@ -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 {