Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[backend] fix aggregate blocking code in scheduler (from mls)

  • Loading branch information...
commit 0936b2811bb155b5e266f28167ec96c873a60636 1 parent 40141f2
@bugfinder bugfinder authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/backend/bs_sched
View
1  src/backend/bs_sched
@@ -3973,6 +3973,7 @@ sub checkaggregate {
$ps = (readxml("$reporoot/$aprp/$myarch/:packstatus", $BSXML::packstatuslist, 1) || {})->{'packstatus'} || [];
$ps = { 'packstatus' => { map {$_->{'name'} => $_->{'status'}} @$ps } } if $ps;
}
+ $ps = ($ps || {})->{'packstatus'} || {};
for my $apackid (@apackids) {
my $s = $ps->{$apackid} || '';
if ($s eq 'scheduled' || $s eq 'blocked' || $s eq 'finished') {
Please sign in to comment.
Something went wrong with that request. Please try again.