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/router/network
Sebastiaan van Stijn 6ad4bf0a53 API return network-list if no network-name or id is provided
When calling the /networks/ endpoint with a trailing
slash, the default network was returned.

This changes the endpoint to return the list of networks
instead (same response as `/networks` without trailing
slash).

Also updated the description for GetNetworkByName to
explain that the "default" network is returned if
no name or id is provided.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-09-26 21:44:34 +02:00
..
backend.go Move engine-api client package 2016-09-07 11:05:58 -07:00
filter.go Move engine-api client package 2016-09-07 11:05:58 -07:00
network.go API return network-list if no network-name or id is provided 2016-09-26 21:44:34 +02:00
network_routes.go Add support for docker run in swarm mode overlay 2016-09-07 21:20:41 -07:00