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

Change saver_strategy value to String #96

Merged
merged 1 commit into from
Jun 17, 2018

Conversation

cben
Copy link
Contributor

@cben cben commented May 2, 2018

Symbols in configuration values are problematic because Symbols do not roundtrip through JSON. Since the API now exposes Settings, it's not possible to set Symbols as values. The saver_strategy was fixed in ManageIQ/manageiq#17168 to support String values, and the next step is to remove all Symbols from the Settings.

ManageIQ/manageiq#17201
https://bugzilla.redhat.com/show_bug.cgi?id=1558031

@miq-bot add-labels bug, gaprindashvili/yes
@Fryguy @moolitayer please review. This is similar to ManageIQ/manageiq-providers-kubernetes#246.

roundtrip through JSON.  Since the API now exposes Settings, it's not
possible to set Symbols as values.  The saver_strategy was fixed in
ManageIQ/manageiq#17168 to support String
values, and the next step is to remove all Symbols from the Settings.

ManageIQ/manageiq#17201
https://bugzilla.redhat.com/show_bug.cgi?id=1558031
@miq-bot
Copy link
Member

miq-bot commented May 2, 2018

Checked commit cben@e96c13f with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
3 files checked, 0 offenses detected
Everything looks fine. 🏆

@cben cben changed the title Symbols in configuration values are problematic because Symbols do not roundtrip through JSON. Since the API now exposes Settings, it's not possible to set Symbols as values. The saver_strategy was fixed in ManageIQ/manageiq#17168 to support String values, and the next step is to remove all Symbols from the Settings. Change saver_strategy value to String May 2, 2018
@cben cben closed this Jun 16, 2018
@cben cben reopened this Jun 16, 2018
@cben
Copy link
Contributor Author

cben commented Jun 16, 2018

@Fryguy @moolitayer please review - open shift counterpart to ManageIQ/manageiq-providers-kubernetes#246

Copy link

@moolitayer moolitayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@moolitayer moolitayer merged commit 147984d into ManageIQ:master Jun 17, 2018
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.

3 participants