Skip to content

Commit

Permalink
[backend] Container: log list of obsolete tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed May 21, 2024
1 parent 13f89b1 commit 26606ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/BSPublisher/Container.pm
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,9 @@ sub delete_obsolete_tags_from_registry {
push @keep, $4;
}
my %keep = map {$_ => 1} @keep;
return unless grep {!$keep{$_}} keys %$repostate;
my @obsoletetags = grep {!$keep{$_}} keys %$repostate;
return unless @obsoletetags;
print "obsolete tags: @obsoletetags\n";
}
mkdir_p($uploaddir);
my $containerdigestfile = "$uploaddir/publisher.$$.containerdigests";
Expand Down

0 comments on commit 26606ef

Please sign in to comment.