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 d4bb23f commit 0828678
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 @@ -253,7 +253,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 0828678

Please sign in to comment.