Remove misleading error from CronJob controller when it can't find parent UID

pull/6/head
Maxim Ivanov 2017-04-26 18:57:53 +01:00
parent b5caa6beb3
commit 0cf4744e75
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ func groupJobsByParent(js []batchv1.Job) map[types.UID][]batchv1.Job {
for _, job := range js {
parentUID, found := getParentUIDFromJob(job)
if !found {
glog.Errorf("Unable to get uid from job %s in namespace %s", job.Name, job.Namespace)
glog.V(4).Infof("Unable to get parent uid from job %s in namespace %s", job.Name, job.Namespace)
continue
}
jobsBySj[parentUID] = append(jobsBySj[parentUID], job)