Files
moby/api/client
Alexandre Beslic 5479df79c7 swarm: improve cli output on node promote/demote for unchanged role
As of now promoting (or demoting) a node that has its role
left unchanged will always print a successful message.

This PR fixes the issue by matching the behavior on swarmkit's
swarmctl command and printing a message when desired role is
the current role of the node.

As a result this also avoids calling update when it is not
necessary.

Signed-off-by: Alexandre Beslic <alexandre.beslic@gmail.com>
2016-08-05 15:51:32 -07:00
..
2016-08-04 14:59:55 +02:00
2016-06-07 22:38:02 +02:00
2016-08-03 10:36:47 -04:00
2016-06-11 13:16:55 -07:00
2016-06-21 14:15:19 -07:00
2016-07-29 02:10:36 +00:00