mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Merge pull request #95716 from nilo19/cleanup/add-error-log
Azure: Add error detail in log
This commit is contained in:
commit
5a4c9af290
@ -357,7 +357,7 @@ func (az *Cloud) serviceOwnsFrontendIP(fip network.FrontendIPConfiguration, serv
|
||||
pipResourceGroup := az.getPublicIPAddressResourceGroup(service)
|
||||
pip, err := az.findMatchedPIPByLoadBalancerIP(service, loadBalancerIP, pipResourceGroup)
|
||||
if err != nil {
|
||||
klog.Errorf("serviceOwnsFrontendIP: unexpected error when finding match public IP of the service %s with loadBalancerLP %s", service.Name, loadBalancerIP)
|
||||
klog.Warningf("serviceOwnsFrontendIP: unexpected error when finding match public IP of the service %s with loadBalancerLP %s: %v", service.Name, loadBalancerIP, err)
|
||||
return false, isPrimaryService, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user