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

[25.0 backport] builder/mobyexporter: Add missing nil check #47987

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

vvoland
Copy link
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 <pawel.gronowski@docker.com>
(cherry picked from commit 642242a)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
@vvoland vvoland added this to the 25.0.6 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 14:18
Copy link
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

@thaJeztah thaJeztah merged commit c55eeb3 into moby:25.0 Jun 14, 2024
138 checks passed
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.

2 participants