1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/cli/command/secret
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
..
cmd.go refactor help func in CLI 2016-11-17 10:54:10 -08:00
create.go remove -f on secret create and unify usage with other commands 2017-01-06 14:07:48 -08:00
inspect.go Move secret name or ID prefix resolving from client to daemon 2017-01-27 10:40:05 -08:00
ls.go Fix the inconsistency for docker secret 2016-11-30 17:23:39 +08:00
remove.go Move secret name or ID prefix resolving from client to daemon 2017-01-27 10:40:05 -08:00
utils.go Add integration test for stack deploy with secrets. 2017-01-26 11:33:15 -05:00