-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
image/cache: fix isValidParent logic #31189
Conversation
I'll add a test asap, in the middle of something else now. |
/cc @tonistiigi @cpuguy83 |
LGTM, but needs a test |
Yes, as noted above, I'll need to add one. |
I think |
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
efc8183
to
1cf4b2b
Compare
I'll add another commit to change that or follow up (do you have any suggestion on the new name?) |
Actually, I might have misunderstood the fix. I see that So it seems like it still is checking for a parent, but you fixed a problem that happens if the parent has the same number of filesystem layers. If this is the case, the name doesn't need to change. LGTM |
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
Fix #31186
Signed-off-by: Antonio Murdaca runcom@redhat.com