Fix minor bug with generate-tag-details.pl related to "Size" fields that were null instead of 0

This commit is contained in:
Tianon Gravi 2015-12-02 14:44:40 -08:00
parent cbc9566bdb
commit 653d09b047
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ sub get_layer_data {
my $data = {
map({ $_ => $v1->{$_} } qw(id created parent docker_version)),
container_command => $v1->{container_config}{Cmd},
virtual_size => $v1->{Size},
virtual_size => $v1->{Size} // 0,
blob => $blob,
};
my $blobHeaders = get_blob_headers($repo, $blob);