1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/server
Yong Tang 704ea8f6b4 Add --filter scope=swarm|local for docker network ls
This fix tries to address the request in 31324 by adding
`--filter scope=swarm|local` for `docker network ls`.

As `docker network ls` has a `SCOPE` column by default,
it is natural to add the support of `--filter scope=swarm|local`.

This fix adds the `scope=swarm|local` support for
`docker network ls --filter`.

Related docs has been updated.

Additional unit test cases have been added.

This fix fixes 31324.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-03-23 18:48:11 -07:00
..
httputils use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00
middleware Hide command options that are related to Windows 2017-03-12 08:47:17 +02:00
router Add --filter scope=swarm|local for docker network ls 2017-03-23 18:48:11 -07:00
middleware.go change comment 2016-08-26 18:30:41 +08:00
profiler.go Correct fmt.Fprintf and t.Fatalf 2017-02-08 12:32:40 +08:00
router_swapper.go fix typos 2016-03-06 00:59:11 +08:00
server.go Show stacktrace in daemon logs only if 500 internal error 2017-02-06 10:13:21 -08:00
server_test.go Correct fmt.Fprintf and t.Fatalf 2017-02-08 12:32:40 +08:00