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

docker_swarm_service: fix crash during idempotence check if published_port is not specified #136

Merged

Conversation

felixfontein
Copy link
Collaborator

SUMMARY

Hopefully fixes #107.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

docker_swarm_service

Copy link
Collaborator

@Andersson007 Andersson007 left a comment

Choose a reason for hiding this comment

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

is check_mode applicable here? if yes, I'd add it to the tests

@felixfontein
Copy link
Collaborator Author

It is applicable, but we don't do it for every option to save CI resources. Since the code path is the same for all options, it's not needed to do that for every option anyway.

Copy link
Collaborator

@Andersson007 Andersson007 left a comment

Choose a reason for hiding this comment

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

Ok, LGTM

@felixfontein felixfontein merged commit 74475d1 into ansible-collections:main May 5, 2021
@felixfontein felixfontein deleted the fix-docker_swarm_service branch May 5, 2021 06:00
@felixfontein
Copy link
Collaborator Author

@Andersson007 thanks for reviewing!

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.

docker_swarm_service.publish fails on 2nd run with host port and ingress
2 participants