Skip to content

Commit 76f23ba

Browse files
authored
Merge pull request #737 from hidekazuna/fix_lbmember_creation
Fix LoadBalancerMember creation
2 parents b9d581c + 6c99448 commit 76f23ba

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/cloud/services/loadbalancer/loadbalancer.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ func (s *Service) ReconcileLoadBalancerMember(clusterName string, machine *clust
217217
s.logger.Info("Reconciling loadbalancer", "name", loadBalancerName)
218218

219219
lbID := openStackCluster.Status.Network.APIServerLoadBalancer.ID
220-
subnetID := openStackCluster.Status.Network.Subnet.ID
221220
portList := []int{int(openStackCluster.Spec.ControlPlaneEndpoint.Port)}
222221
portList = append(portList, openStackCluster.Spec.APIServerLoadBalancerAdditionalPorts...)
223222
for _, port := range portList {
@@ -268,7 +267,6 @@ func (s *Service) ReconcileLoadBalancerMember(clusterName string, machine *clust
268267
Name: name,
269268
ProtocolPort: port,
270269
Address: ip,
271-
SubnetID: subnetID,
272270
}
273271

274272
if err := waitForLoadBalancerActive(s.logger, s.loadbalancerClient, lbID); err != nil {

0 commit comments

Comments
 (0)