Commit fa540321 authored by Leigh Stoller's avatar Leigh Stoller

Minor rearrangement to avoid warning message. Will revisit this later

as we get more proxy nodes on differing states.
parent bd3210aa
...@@ -192,11 +192,6 @@ while (1) { ...@@ -192,11 +192,6 @@ while (1) {
if (!$query_result); if (!$query_result);
while (my ($nodeid,$eventstate,$stamp) = $query_result->fetchrow_array()) { while (my ($nodeid,$eventstate,$stamp) = $query_result->fetchrow_array()) {
print "Node in unknown state: $nodeid,$eventstate,$stamp\n";
next
if ($impotent);
my $node = Node->Lookup($nodeid); my $node = Node->Lookup($nodeid);
if (!defined($node)) { if (!defined($node)) {
print STDERR "Cannot find object for $nodeid\n"; print STDERR "Cannot find object for $nodeid\n";
...@@ -210,6 +205,11 @@ while (1) { ...@@ -210,6 +205,11 @@ while (1) {
if (!$node->imageable() || if (!$node->imageable() ||
!defined($node->default_imageid())); !defined($node->default_imageid()));
print "Node in unknown state: $nodeid,$eventstate,$stamp\n";
next
if ($impotent);
# #
# The node is not in any experiment, so we have to explicitly # The node is not in any experiment, so we have to explicitly
# push it into the hwcheckup experiment. # push it into the hwcheckup experiment.
......
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