Merge pull request #105264 from devincd/fix_typo

fix the log description
This commit is contained in:
Kubernetes Prow Robot 2022-01-06 17:40:29 -08:00 committed by GitHub
commit 3bebe8f6b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -323,7 +323,7 @@ func (jm *ControllerV2) deleteJob(obj interface{}) {
} }
job, ok = tombstone.Obj.(*batchv1.Job) job, ok = tombstone.Obj.(*batchv1.Job)
if !ok { 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 return
} }
} }