fix the log description

Signed-off-by: devincd <505259926@qq.com>
This commit is contained in:
devincd 2021-09-27 14:20:33 +08:00
parent b15f788d29
commit e62aef4fc9

View File

@ -316,7 +316,7 @@ func (jm *ControllerV2) deleteJob(obj interface{}) {
}
job, ok = tombstone.Obj.(*batchv1.Job)
if !ok {
utilruntime.HandleError(fmt.Errorf("tombstone contained object that is not a ReplicaSet %#v", obj))
utilruntime.HandleError(fmt.Errorf("tombstone contained object that is not a Job %#v", obj))
return
}
}