Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replicas max per node #92

Merged
merged 8 commits into from
Feb 24, 2021
Merged

Replicas max per node #92

merged 8 commits into from
Feb 24, 2021

Conversation

WojciechowskiPiotr
Copy link
Collaborator

SUMMARY

Adding support for MaxReplicas Placement parameter for docker_swarm_service (requested in #7)

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

docker_swarm_service

Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you also need to update the return value documentation, since you added a new field. (I think that new field is also what makes the tests fail.)

plugins/modules/docker_swarm_service.py Show resolved Hide resolved
@WojciechowskiPiotr
Copy link
Collaborator Author

ready_for_review

Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also mention replicas_max_per_node in the return example (

). Also this needs a changelog fragment.

Besides that, looks good to me. As far as I can judge changes to this module :)

@hannseman @jwitko @dariko any comments on this?

Copy link

@hannseman hannseman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! 👍

@WojciechowskiPiotr
Copy link
Collaborator Author

You should also mention replicas_max_per_node in the return example (

). Also this needs a changelog fragment.
Besides that, looks good to me. As far as I can judge changes to this module :)

@hannseman @jwitko @dariko any comments on this?

Updated

Co-authored-by: Felix Fontein <felix@fontein.de>
@felixfontein felixfontein merged commit 3ddd75a into ansible-collections:main Feb 24, 2021
@felixfontein
Copy link
Collaborator

@WojciechowskiPiotr thanks for implementing this!
@hannseman thanks for reviewing!

If you have some time, can you take a look at #87, #89, #90? :) I'll also try to create a PR for #91 today, I think with that we can release 1.3.0 very soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants