All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 122980a9 authored by David Johnson's avatar David Johnson

Bugfix: don't fail to delete Docker images without paths; skip them.

parent 242bbd16
......@@ -528,6 +528,10 @@ sub DeleteImageFiles($$$) {
foreach my $imageversion (@images) {
# Skip NULL or '' paths.
if (!defined($imageversion->path()) || $imageversion->path() eq "");
# Split the path into server, repo, and tag.
my ($server,$repo,$tag);
if ($imageversion->path() =~ /^([^\/]+)\/([^:]+):(.*)$/) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment