diff --git a/api/client/service/list.go b/api/client/service/list.go index 2db36e44fd..95ab067055 100644 --- a/api/client/service/list.go +++ b/api/client/service/list.go @@ -84,7 +84,7 @@ func runList(dockerCli *client.DockerCli, opts listOptions) error { func PrintNotQuiet(out io.Writer, services []swarm.Service, nodes []swarm.Node, tasks []swarm.Task) { activeNodes := make(map[string]struct{}) for _, n := range nodes { - if n.Status.State == swarm.NodeStateReady { + if n.Status.State != swarm.NodeStateDown { activeNodes[n.ID] = struct{}{} } }