1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/cluster
Yong Tang 80e3975117 Fix issue in API POST /services/(id or name)/update
This fix tries to address the issue raised in 26090 where
remote API `POST /services/(id or name)/update` cannot
use `name` to update. This is not consistent with the
documentation of the remote API.

This fix fixes this issue by performing a lookup with `getService`
in case `name` instead of `id` is used in API.

This fix adds an integration test to cover the changes.

This fix fixes 26090.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-08-29 21:13:53 -07:00
..
convert Support --group-add and --group-rm in docker service create/update 2016-08-27 11:54:05 -07:00
executor Merge pull request #25888 from vdemeester/listcontainerfornode-refactoring 2016-08-25 19:10:18 +02:00
provider fix some typos 2016-06-21 15:29:25 +08:00
cluster.go Fix issue in API POST /services/(id or name)/update 2016-08-29 21:13:53 -07:00
filters.go Allow partial name match for node ls, and node tasks 2016-07-20 08:16:10 -07:00
helpers.go Fix spelling in comments, strings and documentation 2016-07-03 20:58:11 +03:00
listen_addr.go Only consider "device" interfaces in address autodetection on Linux 2016-08-02 10:54:43 -07:00
listen_addr_linux.go Only consider "device" interfaces in address autodetection on Linux 2016-08-02 10:54:43 -07:00
listen_addr_others.go Only consider "device" interfaces in address autodetection on Linux 2016-08-02 10:54:43 -07:00