From aa55e87ac2838b717f44b65d212aaa7b4b3f040b Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Fri, 17 Oct 2014 11:02:21 -0700 Subject: [PATCH] Support updates in the kubelet. --- pkg/kubelet/kubelet.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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") }