Skip to content

Commit 5a4c9af

Browse files
authored
Merge pull request kubernetes#95716 from nilo19/cleanup/add-error-log
Azure: Add error detail in log
2 parents 7509c4e + 748ae54 commit 5a4c9af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staging/src/k8s.io/legacy-cloud-providers/azure/azure_standard.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ func (az *Cloud) serviceOwnsFrontendIP(fip network.FrontendIPConfiguration, serv
357357
pipResourceGroup := az.getPublicIPAddressResourceGroup(service)
358358
pip, err := az.findMatchedPIPByLoadBalancerIP(service, loadBalancerIP, pipResourceGroup)
359359
if err != nil {
360-
klog.Errorf("serviceOwnsFrontendIP: unexpected error when finding match public IP of the service %s with loadBalancerLP %s", service.Name, loadBalancerIP)
360+
klog.Warningf("serviceOwnsFrontendIP: unexpected error when finding match public IP of the service %s with loadBalancerLP %s: %v", service.Name, loadBalancerIP, err)
361361
return false, isPrimaryService, nil
362362
}
363363

0 commit comments

Comments
 (0)