Skip to content

Commit

Permalink
fix: azure_loadbalancer.go: don't use service.Name, when service is nil
Browse files Browse the repository at this point in the history
  • Loading branch information
damdo authored and k8s-infra-cherrypick-robot committed Jan 11, 2024
1 parent 5920a4e commit ca319fc
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 ca319fc

Please sign in to comment.