Skip to content

Commit

Permalink
[backend] fix job forwarding for suspendproject events
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Apr 13, 2016
1 parent e151c64 commit 762c300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/bs_repserver
Original file line number Diff line number Diff line change
Expand Up @@ -2185,8 +2185,8 @@ sub forwardevent {
if ($type eq 'badhost') {
$repoid = $cgi->{'repository'} if exists $cgi->{'repository'};
$arch = $cgi->{'arch'} if exists $cgi->{'arch'};
$job = $cgi->{'job'} if exists $cgi->{'job'};
}
$job = $cgi->{'job'} if exists($cgi->{'job'}) && ($type eq 'badhost' || $type eq 'suspendproject');
# hack: mis-use job to transfer wipe target
if ($type eq 'wipe' && $cgi->{'wipe'}) {
$job = join(',', @{$cgi->{'wipe'}});
Expand Down

0 comments on commit 762c300

Please sign in to comment.