Skip to content

Commit

Permalink
[backend] fix docker content tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Apr 25, 2018
1 parent 73fcc00 commit 476d94e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/backend/BSRepServer/Containerinfo.pm
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ sub containerinfo2obsbinlnk {
my $name = $d->{name};
my $lnk = {};
$lnk->{'name'} = "container:$name";
$lnk->{'version'} = defined($d->{'version'}) ? $d->{'version'} : '0';
$lnk->{'version'} = defined($d->{'version'}) ? $d->{'version'} : '0';
$lnk->{'release'} = defined($d->{'release'}) ? $d->{'release'} : '0';
$lnk->{'arch'} = defined($d->{'arch'}) ? $d->{'arch'} : 'noarch';
# need to have a source so that it goes into the :full tree
$lnk->{'source'} = $lnk->{'name'};
Expand Down

0 comments on commit 476d94e

Please sign in to comment.