Commit f5195cb4 authored by David Johnson's avatar David Johnson

Fix minor Docker image capture bug.

parent a73154bb
......@@ -302,7 +302,7 @@ my %layer_size = ();
if ($debug) {
print "DEBUG: history: " . Dumper($content) . "\n";
}
foreach my $h (@{$content->[0]}) {
foreach my $h (@{$content}) {
next
if (!exists($h->{"Id"}) || !exists($h->{"Size"}));
my $size = $h->{"Size"};
......
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