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/swarm
Ying Li a6a0880a22 Before asking a user for the unlock key when they run docker swarm unlock, actually
check to see if the node is part of a swarm, and if so, if it is unlocked first.
If neither of these are true, abort the command.

Signed-off-by: Ying Li <ying.li@docker.com>
2016-12-16 17:16:55 -08:00
..
cmd.go refactor help func in CLI 2016-11-17 10:54:10 -08:00
init.go cli: Change autolock flag description 2016-11-10 12:05:19 -08:00
join.go change join node role judge 2016-10-19 19:47:42 +08:00
join_token.go Fix bunch of typos 2016-10-29 15:03:26 +08:00
leave.go swarm leave is not only for workers 2016-12-16 15:10:20 +01:00
opts.go fix description of 'docker swarm init' 2016-11-28 13:24:02 +09:00
opts_test.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
unlock.go Before asking a user for the unlock key when they run docker swarm unlock, actually 2016-12-16 17:16:55 -08:00
unlock_key.go Add unlock key rotation 2016-11-09 16:09:01 -08:00
update.go Show usage when docker swarm update has no flags 2016-12-13 05:05:04 -08:00