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: do not panic in merge.Merge if map value is nil. #8022

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

DmitriyMV
Copy link
Member

Checking for zeroValue is not enough when accessing map[string]any.

Closes #8005

@smira smira added this to the v1.7 milestone Dec 4, 2023
Checking for `zeroValue` is not enough when accessing `map[string]any`.

Closes siderolabs#8005

Signed-off-by: Dmitriy Matrenichev <[email protected]>
@DmitriyMV
Copy link
Member Author

/m

@talos-bot talos-bot merged commit 6329222 into siderolabs:main Dec 4, 2023
18 of 19 checks passed
@DmitriyMV DmitriyMV deleted the fix-nil-check branch December 4, 2023 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backported
Development

Successfully merging this pull request may close these issues.

🐛 panic in config patch merger
3 participants