mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Add error detail in log
This commit is contained in:
parent
3b868e1a71
commit
748ae54ec0
@ -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