Files
docker-cli/cli/command/stack/swarm
Djordje Lukic 568ea3a329 Refactor the stack services command to be uniform
Running `docker stack services <STACK> --orchestrator swarm would yield
the message "Noting found in stack: asdf" with an exit code 0. The same
command with kubernetes orchestrator would yield "nothing found in
stack: adsf" (note the lower-case "nothing") and a non-zero exit code.
This change makes the `stack services` command uniform for both
orchestrators. The logic of getting and printing services is split to
reuse the same formatting code.

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-10-29 15:58:10 +01:00
..
2017-12-26 11:45:56 +01:00
2018-06-26 14:07:26 +02:00
2018-10-11 01:54:38 -07:00
2018-06-26 14:07:26 +02:00
2018-10-23 17:05:44 +02:00
2018-06-26 14:07:26 +02:00
2018-06-26 14:07:26 +02:00