Merge pull request #32364 from lojies/adderrtolog

Automatic merge from submit-queue

add err to glog

there miss a field in glog
This commit is contained in:
Kubernetes Submit Queue 2016-09-11 23:28:17 -07:00 committed by GitHub
commit 96284dac3b

View File

@ -504,7 +504,7 @@ func (kd *KubeDNS) Records(name string, exact bool) (retval []skymsg.Service, er
if !kd.isHeadlessServiceRecord(&val) {
ok, err := kd.serviceWithClusterIPHasEndpoints(&val)
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
}
if !ok {