Skip to content

builder/mobyexporter: Add missing nil check#47985

Merged
vvoland merged 1 commit intomoby:masterfrom
vvoland:bk-patchimageconfig-panic
Jun 14, 2024
Merged

builder/mobyexporter: Add missing nil check#47985
vvoland merged 1 commit intomoby:masterfrom
vvoland:bk-patchimageconfig-panic

Conversation

@vvoland
Copy link
Copy Markdown
Contributor

@vvoland vvoland commented Jun 14, 2024

Add a nil check to handle a case where the image config JSON would deserialize into a nil map.

- What I did

- How I did it

- How to verify it
TestPatchImageConfig

- A picture of a cute animal (not mandatory but encouraged)

Add a nil check to handle a case where the image config JSON would
deserialize into a nil map.

Signed-off-by: Paweł Gronowski <[email protected]>
@vvoland vvoland added this to the 27.0.0 milestone Jun 14, 2024
@vvoland vvoland self-assigned this Jun 14, 2024
@vvoland vvoland requested a review from tonistiigi as a code owner June 14, 2024 13:26
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants