update_config failure action should be updated
File: compose/compose-file/index.md, CC @londoncalling
This line in the compose doc should be updated to reflect a third option, rollback:
failure_action: What to do if an update fails. One of continue or pause (default: pause).
to match the docker service create docs (https://docs.docker.com/engine/reference/commandline/service_create/#options) says:
--update-failure-action | | Action on update failure (“pause”|“continue”|“rollback”) (default “pause”)
#dibs
So you want the new bullet point to say:
"failure_action: What to do if an update fails. One of continue, rollback, or pause (default: pause)."
Is that correct?
@jmwong Thanks for catching this, that looks right. @shin- for verification?
@cthomas15 Yes that looks correct as you've suggested to match https://docs.docker.com/engine/reference/commandline/service_create/#options
Do you want to make the change in the docs and submit the PR? Go for it, and I'll review it.
@londoncalling Sounds good to me.
:+1:
@cthomas15 you can either create a PR against docker.github.io or just click Edit page at top right on https://docs.docker.com/compose/compose-file/ and edit the page in place which will automatically create the PR when you click Commit Changes . Let me know if you need help with any of this, glad to help.
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
/lifecycle locked