Commit 0cf4744e authored by Maxim Ivanov's avatar Maxim Ivanov

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

parent b5caa6be
...@@ -94,7 +94,7 @@ func groupJobsByParent(js []batchv1.Job) map[types.UID][]batchv1.Job { ...@@ -94,7 +94,7 @@ func groupJobsByParent(js []batchv1.Job) map[types.UID][]batchv1.Job {
for _, job := range js { for _, job := range js {
parentUID, found := getParentUIDFromJob(job) parentUID, found := getParentUIDFromJob(job)
if !found { 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 continue
} }
jobsBySj[parentUID] = append(jobsBySj[parentUID], job) jobsBySj[parentUID] = append(jobsBySj[parentUID], job)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment