Commit 473aeb2e authored by Kirk Webb's avatar Kirk Webb

Fix previous commit.

parent 16a63146
...@@ -507,6 +507,8 @@ while (1) { ...@@ -507,6 +507,8 @@ while (1) {
} }
foreach my $node (@nodelist) { foreach my $node (@nodelist) {
if (!$failed{$node}) { if (!$failed{$node}) {
# Clear any taint states set for the node.
$node->RemoveTaintState();
$nodes .= "$node "; $nodes .= "$node ";
} }
} }
...@@ -633,9 +635,6 @@ sub freefromreloading($) { ...@@ -633,9 +635,6 @@ sub freefromreloading($) {
$experiment->eid() eq $PENDINGEID)) { $experiment->eid() eq $PENDINGEID)) {
$node->ClearSchedReload(); $node->ClearSchedReload();
# Clear any taint states set for the node
$node->RemoveTaintState();
# Check if the robot is back in its pen, otherwise we have to throw it # Check if the robot is back in its pen, otherwise we have to throw it
# back to repositionpending. # back to repositionpending.
my $loc_result = my $loc_result =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment