mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-14 20:10:50 -04:00
add error handler when delete pod
This commit is contained in:
parent
1f28ef05de
commit
a656c0f8a4
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue