diff --git a/pkg/kubelet/kubelet.go b/pkg/kubelet/kubelet.go index d681e453a7f..c55622f839c 100644 --- a/pkg/kubelet/kubelet.go +++ b/pkg/kubelet/kubelet.go @@ -719,16 +719,11 @@ func (kl *Kubelet) syncLoop(updates <-chan PodUpdate, handler SyncHandler) { select { case u := <-updates: switch u.Op { - case SET: + case SET, UPDATE: glog.V(3).Infof("Containers changed [%s]", kl.hostname) kl.pods = u.Pods kl.pods = filterHostPortConflicts(kl.pods) - case UPDATE: - //TODO: implement updates of containers - glog.Warningf("Containers updated, not implemented [%s]", kl.hostname) - continue - default: panic("syncLoop does not support incremental changes") }