Skip to content

Commit

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

[release-1.28] fix: azure_loadbalancer.go: don't use service.Name, when service is nil
  • Loading branch information
k8s-ci-robot committed Jan 12, 2024
2 parents 4a150d8 + ca319fc commit 458c33b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/provider/azure_loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func (az *Cloud) UpdateLoadBalancer(ctx context.Context, clusterName string, ser
}
if !serviceExists {
isOperationSucceeded = true
klog.V(2).Infof("UpdateLoadBalancer: skipping service %s because service is going to be deleted", service.Name)
klog.V(2).Infof("UpdateLoadBalancer: skipping service %s because service is going to be deleted", serviceName)
return nil
}

Expand Down

0 comments on commit 458c33b

Please sign in to comment.