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 committed Jan 10, 2024
1 parent b65c47c commit 40fba9f
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 @@ -269,7 +269,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 40fba9f

Please sign in to comment.