Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add content gc ref labels from containers, images, and snapshots
Currently the objects which can retain content from labels are limited. This limitation has required clients to work around this and and in some cases add outside reference counting (e.g. buildkit keeping content for snapshots). Updated the logic to treat content and snapshot labels equally and simplified the code in the process. Signed-off-by: Derek McGowan <derek@mcgstyle.net> (cherry picked from commit 7cfb99a) Signed-off-by: Derek McGowan <derek@mcgstyle.net>
- Loading branch information
Showing
2 changed files
with
69 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters