Use Infof/Warningf when appropriate

When we use a format string, we should use Infof/Warningf instead
of Info/Warning
This commit is contained in:
Davanum Srinivas
2016-07-19 12:10:50 -04:00
parent d9fbb9f600
commit ee8507a5ae
9 changed files with 10 additions and 10 deletions

View File

@@ -247,7 +247,7 @@ func (kd *KubeDNS) newService(obj interface{}) {
return
}
if len(service.Spec.Ports) == 0 {
glog.Warning("Unexpected service with no ports, this should not have happend: %v", service)
glog.Warningf("Unexpected service with no ports, this should not have happend: %v", service)
}
kd.newPortalService(service)
}