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

pkg/oci: Use garbage collecting to delete whole image. #2402

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

eiffel-fl
Copy link
Member

Upstream recently added code to garbage collect manifests [1]. By using this, we can remove deleteTree().

Signed-off-by: Francis Laniel flaniel@linux.microsoft.com
[1]: oras-project/oras-go@64fedf45bfd3

Copy link
Member

@mauriciovasquezbernal mauriciovasquezbernal left a comment

Choose a reason for hiding this comment

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

LGTM once it's rebased on top of #2401.

Base automatically changed from francis/fix-rmi to main January 30, 2024 02:38
Upstream recently added code to garbage collect manifests [1].
By using this, we can remove deleteTree().

Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
[1]: oras-project/oras-go@64fedf45bfd3
@eiffel-fl
Copy link
Member Author

Thank you for the review!

@eiffel-fl eiffel-fl merged commit 4c89964 into main Jan 30, 2024
56 checks passed
@eiffel-fl eiffel-fl deleted the francis/rmi-upstream branch January 30, 2024 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants