Skip to content

enable setting of node labels #1225 - #1230

Merged
shin- merged 1 commit into
docker:masterfrom
LabattFoodService:updateNode
Nov 7, 2016
Merged

enable setting of node labels #1225#1230
shin- merged 1 commit into
docker:masterfrom
LabattFoodService:updateNode

Conversation

@nathannis

Copy link
Copy Markdown
Contributor

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]

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]>
@nathannis

Copy link
Copy Markdown
Contributor Author

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,
Nathan

@nathannis
nathannis force-pushed the updateNode branch 2 times, most recently from e6d263e to 6ef1493 Compare September 28, 2016 18:35
@nathannis

Copy link
Copy Markdown
Contributor Author

Hey guys,
I am currently running off my fork, but would like to get back to running off of a version of docker-py from pypi. Is there anything I can do to get this included in a future release?

@nathannis nathannis added this to the 1.11.0 milestone Nov 7, 2016
@shin-

shin- commented Nov 7, 2016

Copy link
Copy Markdown
Contributor

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.

@shin-
shin- merged commit f745c8e into docker:master Nov 7, 2016
bfirsh added a commit to bfirsh/docker-py that referenced this pull request Nov 7, 2016
Introduced by docker#1230

Signed-off-by: Ben Firshman <[email protected]>
@bfirsh bfirsh mentioned this pull request Nov 7, 2016
@nathannis

Copy link
Copy Markdown
Contributor Author

Thanks!

@shin- shin- modified the milestones: 1.11.0, 2.0.0 Dec 2, 2016
shin- pushed a commit that referenced this pull request Dec 8, 2016
Introduced by #1230

Signed-off-by: Ben Firshman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants