Skip to content

Commit ad73f8e

Browse files
authored
Merge pull request #127 from cwize1/user/chrisgun/RemoveLBWorkaround
Remove load balancer workaround for bare metal.
2 parents 545d8eb + 559338a commit ad73f8e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cloud/scope/cluster.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,7 @@ func (s *ClusterScope) APIServerPort() int32 {
192192
}
193193

194194
func (s *ClusterScope) AzureStackHCILoadBalancer() *infrav1.AzureStackHCILoadBalancerSpec {
195-
// Disable the load balancer for baremetal machine scenarios
196-
// return s.AzureStackHCICluster.Spec.AzureStackHCILoadBalancer
197-
return nil
195+
return s.AzureStackHCICluster.Spec.AzureStackHCILoadBalancer
198196
}
199197

200198
// GetNamespaceOrDefault returns the default namespace if given empty

0 commit comments

Comments
 (0)