diff --git a/pkg/kubelet/config/etcd.go b/pkg/kubelet/config/etcd.go index b2577bbf66c..0f091669f99 100644 --- a/pkg/kubelet/config/etcd.go +++ b/pkg/kubelet/config/etcd.go @@ -59,7 +59,7 @@ func NewSourceEtcd(key string, client tools.EtcdClient, updates chan<- interface func (s *sourceEtcd) run() { boundPods := api.BoundPods{} - err := s.helper.ExtractToList(s.key, &boundPods) + err := s.helper.ExtractObj(s.key, &boundPods, false) if err != nil { glog.Errorf("etcd failed to retrieve the value for the key %q. Error: %v", s.key, err) return