Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#1254 from bfournie/internal-addres…
Browse files Browse the repository at this point in the history
…s-reference

Use reference for Internal LB address
  • Loading branch information
k8s-ci-robot authored Jun 5, 2024
2 parents c9c98eb + ce0ffe8 commit ef2e7f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloud/services/compute/loadbalancers/reconcile.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func (s *Service) createInternalLoadBalancer(ctx context.Context, name string, l
if err != nil {
return err
}
s.scope.Network().APIInternalAddress = ptr.To[string](addr.Address)
s.scope.Network().APIInternalAddress = ptr.To[string](addr.SelfLink)
if lbType == infrav1.Internal {
// If only creating an internal Load Balancer, set the control plane endpoint
endpoint := s.scope.ControlPlaneEndpoint()
Expand Down

0 comments on commit ef2e7f1

Please sign in to comment.