-
Notifications
You must be signed in to change notification settings - Fork 18.8k
c8d/inspect: Fill Parent
property
#46912
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
Conversation
Doh! This needs a rebase now |
4e65bcb
to
146e571
Compare
146e571
to
f266742
Compare
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.
LGTM
hmm some linting issue:
|
Before this change `ParentId` was filled for images when calling the `/images/json` (image list) endpoint but was not for the `/images/<image>/json` (image inspect). Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
f266742
to
18b1aec
Compare
LOL, race-condition in our comments; yup, just spotted that issue (was about to merge, but checked if only failures were in the containerd checks 😂) |
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.
LGTM
Before this change
ParentId
was filled for images when calling the/images/json
(image list) endpoint but was not for the/images/<image>/json
(image inspect).This fixes part of
tests.integration.api_image_test.CommitTest
andtests.integration.api_image_test.CommitTest
(not fully though, only theParent
value check).- What I did
- How I did it
- How to verify it
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)