mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +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:
commit
07b650e165
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user