enable setting of node labels #1225 - #1230
Conversation
Added update_node function to enable setting labels on nodes. This exposes the Update a Node function from the Docker API and should enable promoting/demoting manager nodes inside a swarm. Signed-off-by: Nathan Shirlberg <[email protected]>
|
This is my first contribution to this project,. Please pardon my questions. The tests all passed locally. I tried to follow the style of all existing code. I have a consumer that is functioning properly when docker-py is installed from my source. Please let me know when this is included in a release posted to pypi so that I can switch my application from using the source copy back to using pip install. If you have any thoughts or suggestions, please let me know. Thanks, |
e6d263e to
6ef1493
Compare
|
Hey guys, |
|
Hi @nathannis Sorry for the delay on this, other priorities have cropped up since we released 1.10 . Code and docs look good to me, and you added tests too, so this looks perfect as far as I'm concerned. I'll merge to master for the time being, and I'll update once it makes it into a release. |
Introduced by docker#1230 Signed-off-by: Ben Firshman <[email protected]>
|
Thanks! |
Introduced by #1230 Signed-off-by: Ben Firshman <[email protected]>
Added update_node function to enable setting labels on nodes. This
exposes the Update a Node function from the Docker API and should
enable promoting/demoting manager nodes inside a swarm.
Signed-off-by: Nathan Shirlberg [email protected]