mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-06 21:28:16 +00:00
Merge pull request #29844 from ZTE-PaaS/zhangke-patch-013
Automatic merge from submit-queue make the removing pods log standardized
This commit is contained in:
@@ -265,7 +265,7 @@ func (s *podStorage) merge(source string, change interface{}) (adds, updates, de
|
|||||||
updatePodsFunc(update.Pods, pods, pods)
|
updatePodsFunc(update.Pods, pods, pods)
|
||||||
|
|
||||||
case kubetypes.REMOVE:
|
case kubetypes.REMOVE:
|
||||||
glog.V(4).Infof("Removing a pod %v", update)
|
glog.V(4).Infof("Removing pods from source %s : %v", source, update.Pods)
|
||||||
for _, value := range update.Pods {
|
for _, value := range update.Pods {
|
||||||
name := kubecontainer.GetPodFullName(value)
|
name := kubecontainer.GetPodFullName(value)
|
||||||
if existing, found := pods[name]; found {
|
if existing, found := pods[name]; found {
|
||||||
|
|||||||
Reference in New Issue
Block a user