mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 04:27:54 +00:00
make the removing pods log standardized
This commit is contained in:
parent
4fdde68f78
commit
e143c38310
@ -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