mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
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:
@@ -539,7 +539,7 @@ func (factory *ConfigFactory) makeDefaultErrorFunc(backoff *podBackoff, podQueue
|
||||
break
|
||||
}
|
||||
if errors.IsNotFound(err) {
|
||||
glog.Warning("A pod %v no longer exists", podID)
|
||||
glog.Warningf("A pod %v no longer exists", podID)
|
||||
return
|
||||
}
|
||||
glog.Errorf("Error getting pod %v for retry: %v; retrying...", podID, err)
|
||||
|
||||
Reference in New Issue
Block a user