diff --git a/daemon/list.go b/daemon/list.go index 5ca01862ef..5885ebd499 100644 --- a/daemon/list.go +++ b/daemon/list.go @@ -54,12 +54,11 @@ func (daemon *Daemon) Containers(job *engine.Job) engine.Status { } } } - names := map[string][]string{} daemon.ContainerGraph().Walk("/", func(p string, e *graphdb.Entity) error { names[e.ID()] = append(names[e.ID()], p) return nil - }, -1) + }, 1) var beforeCont, sinceCont *Container if before != "" {