-
Notifications
You must be signed in to change notification settings - Fork 123
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_compose - Fix timeout defaulting behavior #163
docker_compose - Fix timeout defaulting behavior #163
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this a breaking change?
I detailed why it wasn't on the issue thread |
Well, it's still a breaking change, since in some cases (user had a different timeout in the service description than the default value) the module will change behavior. I tend to agree with @aaron-kaplan on:
I think we should probably keep this for the 2.0.0 release and add a |
Updated the changelog fragment. |
Thanks! I guess we'll start with the 2.0.0 preparations somewhen in September; I'll merge this PR then.
Feel free to start working on that now if you want. If the PR is done merged before I do the 1.8.0 release (probably on Tuesday morning), it will be in 1.8.0, otherwise it has to wait for 1.9.0. |
Restarting tests. |
@Ajpantuso thanks for contributing this! |
SUMMARY
Removed overwriting of default timeout so
stop_grace_period
can be correctly read fromcompose
files.Fixes #25
ISSUE TYPE
COMPONENT NAME
plugins/modules/docker_compose.py
ADDITIONAL INFORMATION
timeout
documentation requireddefault: null
since a doc fragment this module extends already definestimeout
withdefault: 60
.After the change the following example from #25 :
results in: