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 fa358a8757 Move secret name or ID prefix resolving from client to daemon
This fix is a follow up for comment:
https://github.com/docker/docker/pull/28896#issuecomment-265392703

Currently secret name or ID prefix resolving is done at the client
side, which means different behavior of API and CMD.

This fix moves the resolving from client to daemon, with exactly the
same rule:
- Full ID
- Full Name
- Partial ID (prefix)

All existing tests should pass.

This fix is related to #288896, #28884 and may be related to #29125.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-01-27 10:40:05 -08:00
..
convert Vendor swarmkit, containerd, and related dependencies 2017-01-23 17:51:14 -08:00
executor Remove attachable network on swarm leave 2017-01-26 11:16:07 -08:00
provider Add engine-api types to docker 2016-09-07 11:05:58 -07:00
cluster.go Remove attachable network on swarm leave 2017-01-26 11:16:07 -08:00
filters.go secrets: secret management for swarm 2016-11-09 14:27:43 -05:00
helpers.go update response status code for cluster request 2016-12-19 10:21:10 +08:00
listen_addr.go Reject unspecified advertise addr on swarm init 2016-11-28 15:44:06 -08:00
listen_addr_linux.go Add fallback to resolveSystemAddr() in linux 2016-09-09 13:27:57 -07:00
listen_addr_others.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
listen_addr_solaris.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
noderunner.go Merge pull request #30145 from anusha-ragunathan/ps-swarm 2017-01-20 10:35:49 -08:00
secrets.go Move secret name or ID prefix resolving from client to daemon 2017-01-27 10:40:05 -08:00
utils.go Switch cluster locking strategy 2016-11-30 14:59:12 -08:00