Skip to content

Commit

Permalink
[backend] fix details message for the new nofailedpackages flag
Browse files Browse the repository at this point in the history
Change $code to $packid...
  • Loading branch information
mlschroe committed Oct 5, 2020
1 parent 64ae5c9 commit 753229c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/BSSched/Checker.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,7 @@ sub publish {
my $packstatus = $ctx->{'packstatus'};
for my $packid (grep {$pubenabled{$_}} @$packs) {
my $code = $packstatus->{$packid} || 'broken';
push @bad, $code if $code eq 'broken' || $code eq 'failed' || $code eq 'unresolvable';
push @bad, $packid if $code eq 'broken' || $code eq 'failed' || $code eq 'unresolvable';
}
return ('broken', "not publishing failed packages: @bad") if @bad;
}
Expand Down

0 comments on commit 753229c

Please sign in to comment.