mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
add error handler when delete pod
This commit is contained in:
parent
1f28ef05de
commit
a656c0f8a4
@ -388,6 +388,7 @@ func (rm *ReplicationManager) manageReplicas(filteredPods []*api.Pod, rc *api.Re
|
||||
// Decrement the expected number of deletes because the informer won't observe this deletion
|
||||
glog.V(2).Infof("Failed deletion, decrementing expectations for controller %q/%q", rc.Namespace, rc.Name)
|
||||
rm.expectations.DeletionObserved(rcKey)
|
||||
util.HandleError(err)
|
||||
}
|
||||
}(i)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user