Merge pull request #2898 from weaveworks/weaveutil-allids-without-all

Only list active containers in weaveutil/addrs.go#containerAddrs
This commit is contained in:
Marc Carré authored and GitHub committed 2017-04-13 13:12:41 +01:00
commit 3cca0887c7
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ func containerAddrs(args []string) error {
containerArgs := []string{}
for _, cid := range args[1:] {
if cid == "weave:allids" { // expand to all container IDs
all, err := client.ListContainers(docker.ListContainersOptions{All: true})
all, err := client.ListContainers(docker.ListContainersOptions{})
if err != nil {
return err
}