mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-03 18:27:49 +00:00
add err to glog
This commit is contained in:
@@ -504,7 +504,7 @@ func (kd *KubeDNS) Records(name string, exact bool) (retval []skymsg.Service, er
|
|||||||
if !kd.isHeadlessServiceRecord(&val) {
|
if !kd.isHeadlessServiceRecord(&val) {
|
||||||
ok, err := kd.serviceWithClusterIPHasEndpoints(&val)
|
ok, err := kd.serviceWithClusterIPHasEndpoints(&val)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
glog.V(2).Infof("federation service query: unexpected error while trying to find if service has endpoint: %v")
|
glog.V(2).Infof("federation service query: unexpected error while trying to find if service has endpoint: %v", err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if !ok {
|
if !ok {
|
||||||
|
Reference in New Issue
Block a user