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

Fix: Issue #2832 Allowing Rollback Config Arg for Services #2917

Merged
merged 3 commits into from
Jul 29, 2022

Conversation

ercildoune
Copy link
Contributor

@ercildoune ercildoune commented Nov 23, 2021

'rollback_config' was not in the list of 'CREATE_SERVICE_KWARGS'
which prevented it from being an argument when creating services.
It has now been added and the problem fixed, allowing services to
have a rollback_config during creation and updating.

This is specifically for the command client.services.create, which in the
API should take rollback_config, but doesn't.
The integration test does not check for this.

Closes #2832

Signed-off-by: Fraser Patten pattenf00@gmail.com

'rollback_config' was not in the list of 'CREATE_SERVICE_KWARGS'
which prevented it from being an argument when creating services.
It has now been added and the problem fixed, allowing services to
have a rollback_config during creation and updating.

Signed-off-by: Fraser Patten <pattenf00@gmail.com>
@milas milas merged commit 26753c8 into docker:main Jul 29, 2022
@milas milas added this to the 6.0.0 milestone Jul 30, 2022
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.

Missed rollback_config in service's create/update methods.
2 participants