diff --git a/daemon/list.go b/daemon/list.go index 5ca01862ef3f268b16c6d77a421088af94341242..5885ebd4998c6e254e3bf2129e5d4d64c28ebae2 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 != "" {