Commit 97e2feae authored by Robert Ricci's avatar Robert Ricci
Browse files

Change check for suceeded reload - used to look for ISUP, but os_load

no longer waits that long.
parent 8f2e2934
......@@ -436,14 +436,14 @@ foreach my $imageid ( keys(%reloads) ) {
my @list = @{ $reloads{$imageid} };
foreach my $node ( @list ) {
my $state;
my $mode;
if (!TBGetNodeEventState($node, \$state)) {
print "*** Error getting event state for $node!\n";
if (!TBGetNodeOpMode($node, \$mode)) {
print "*** Error getting operational mode for $node!\n";
$failed++;
delete($nodes{$node});
}
if ($state ne TBDB_NODESTATE_ISUP) {
if ($mode eq TBDB_NODEOPMODE_RELOAD) {
print "*** Not waiting for $node since its reload failed!\n";
$failed++;
delete($nodes{$node});
......
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