mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +00:00
@@ -316,7 +316,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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user