Skip to content

Commit

Permalink
Merge pull request #3966 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…3957-to-release-1.25

[release-1.25] [Log] Print Service name and resource basename in ReconcileService()
  • Loading branch information
k8s-ci-robot authored May 24, 2023
2 parents 8ec9963 + 90bc941 commit dd2da69
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/provider/azure_loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ func (az *Cloud) reconcileService(ctx context.Context, clusterName string, servi
return nil, err
}

resourceBaseName := az.GetLoadBalancerName(context.TODO(), "", service)
klog.V(2).Infof("reconcileService: Start reconciling Service %q with its resource basename %q", serviceName, resourceBaseName)

lbStatus, fipConfig, err := az.getServiceLoadBalancerStatus(service, lb)
if err != nil {
klog.Errorf("getServiceLoadBalancerStatus(%s) failed: %v", serviceName, err)
Expand Down

0 comments on commit dd2da69

Please sign in to comment.