mirror of
https://github.com/docker/cli.git
synced 2026-10-13 09:23:36 -04:00
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>
Upstream-commit: e4102ce61e
Component: cli