Fix minor bug with generate-tag-details.pl related to "Size" fields that were null instead of 0
This commit is contained in:
parent
cbc9566bdb
commit
653d09b047
|
|
@ -112,7 +112,7 @@ sub get_layer_data {
|
||||||
my $data = {
|
my $data = {
|
||||||
map({ $_ => $v1->{$_} } qw(id created parent docker_version)),
|
map({ $_ => $v1->{$_} } qw(id created parent docker_version)),
|
||||||
container_command => $v1->{container_config}{Cmd},
|
container_command => $v1->{container_config}{Cmd},
|
||||||
virtual_size => $v1->{Size},
|
virtual_size => $v1->{Size} // 0,
|
||||||
blob => $blob,
|
blob => $blob,
|
||||||
};
|
};
|
||||||
my $blobHeaders = get_blob_headers($repo, $blob);
|
my $blobHeaders = get_blob_headers($repo, $blob);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue