Commit fa540321 authored by Leigh B Stoller's avatar Leigh B 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) {
if (!$query_result);
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);
if (!defined($node)) {
print STDERR "Cannot find object for $nodeid\n";
......@@ -209,6 +204,11 @@ while (1) {
next
if (!$node->imageable() ||
!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
......
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