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

Fixing merge behaviour for booleans #533

Merged
merged 1 commit into from
Apr 6, 2019
Merged

Fixing merge behaviour for booleans #533

merged 1 commit into from
Apr 6, 2019

Conversation

hairyhenderson
Copy link
Owner

Fixes #531

Looks like the mergo package's behaviour wasn't what I expected, so I've replaced it with the code from Helm (https://github.com/helm/helm/blob/master/cmd/helm/install.go#L358..L383).

In addition, I've changed the coll.Merge function to operate on copies of the input, and not modify the maps unexpectedly. And the merge datasource now delegates to coll.Merge directly.

Signed-off-by: Dave Henderson [email protected]

@hairyhenderson hairyhenderson self-assigned this Apr 6, 2019
@hairyhenderson hairyhenderson merged commit 99cd1c2 into master Apr 6, 2019
@hairyhenderson hairyhenderson deleted the fix-merging branch April 6, 2019 13:31
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.

1 participant