docs icon indicating copy to clipboard operation
docs copied to clipboard

update_config failure action should be updated

Open jmwong opened this issue 9 years ago • 7 comments

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”)

jmwong avatar Jul 26 '17 00:07 jmwong

#dibs

cameronthomas avatar Aug 10 '17 22:08 cameronthomas

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?

cameronthomas avatar Aug 10 '17 22:08 cameronthomas

@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 avatar Aug 10 '17 23:08 londoncalling

@londoncalling Sounds good to me.

cameronthomas avatar Aug 10 '17 23:08 cameronthomas

:+1:

shin- avatar Aug 10 '17 23:08 shin-

@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.

londoncalling avatar Aug 11 '17 16:08 londoncalling

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

docker-robott avatar Mar 09 '23 03:03 docker-robott