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
Fixes #37043 - Inheritance overrides host facets #9990
Conversation
Will this affect the behavior of Katello/katello#10841 ? |
I'm not entirely sure to be honest. My hunch is we should be ok since I'm removing the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a comment to fix the explicit nil
use case.
Also can we add some tests to https://github.com/theforeman/foreman/blob/develop/test/unit/facet_test.rb to specify this behavior?
Redid merge code and added tests for both overriding with an actual value as well as with I don't know if the merge result will be exactly as expected with every potential mix of strings/symbols, but I wasn't able to make it misbehave in the tests, so I decided to skip slapping |
@qcjames53 were you able to finish the unit tests? I would like to run this PR there just to be sure I am not missing some use case. Otherwise LGTM. |
Hey @ShimShtein. The changes are merged into master branch Katello; you should be all good to go. |
[test katello] |
Merged, thanks @ananace ! |
No description provided.