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

[6.x] [uiSettings] upgrade old config on read (#24108) #24343

Merged
merged 1 commit into from
Oct 23, 2018

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Oct 22, 2018

Backports the following commits to 6.x:

* doing config migration during config get if necessary

* fixing issue with writing new config when user does not have write privilege

* [uiSettings] only log about config upgrade on success

* [uiSettings/createOrUpgradeSavedConfig] add onWriteError option

* [uiSettings] return the upgradeAttributes if reader is unable to write upgrade

* [uiSettings] update route tests to cover upgrade on get

* [spaces/integration-tests] add config doc to expected objects

* [uiSettings] avoid shadowed variable name
@elasticmachine
Copy link
Contributor

💔 Build Failed

@spalger
Copy link
Contributor Author

spalger commented Oct 23, 2018

retest

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@spalger spalger merged commit 437f1e3 into elastic:6.x Oct 23, 2018
@spalger spalger deleted the backport/6.x/pr-24108 branch October 23, 2018 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants