Commit cb193d53 authored by Dan Gebhardt's avatar Dan Gebhardt

blacklisted nodes (-f option) are now not used when the user does not specify a

pid/eid to get a node list from (-e option).

extra print statement removed.
parent f17c52fd
......@@ -137,6 +137,18 @@ if( defined($pid) && defined($eid) ){
}
}
# chomp @allnodes;
}else{
#remove blacknodes
for( my $i=0; $i < scalar(@allnodes); $i++ ){
if( defined $blacknodes{$allnodes[$i]})
{
# print "removing $allnodes[$i] from set\n";
splice( @allnodes, $i, 1 );
$i--;
}else{
# print "$allnodes[$i]\n";
}
}
}
#print "allnodes[".scalar(@allnodes-1]=$allnodes
......@@ -372,7 +384,7 @@ sub checkConn($$){
"dstsite_idx=$srcsite)) ".
"limit 1";
my @results = getRows($qstr);
print "getRows (latency) finished for query\n$qstr\n";
# print "getRows (latency) finished for query\n$qstr\n";
if( !scalar(@results) ){
}else{
$latConn = 1;
......
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