moinor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -242,14 +242,15 @@ sub getMonNodesStatus {
 | 
			
		||||
    if ($iphash{$sv}) {
 | 
			
		||||
      $monnodes=$hierachy->{$_};
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
     
 | 
			
		||||
  foreach(@$monnodes) {
 | 
			
		||||
    my $node=$_->[0];
 | 
			
		||||
    my $status=$_->[2];
 | 
			
		||||
    if ($status eq $::STATUS_ACTIVE) { push(@active_nodes, $node);}
 | 
			
		||||
    elsif ($status eq $::STATUS_INACTIVE) { push(@inactive_nodes, $node);}
 | 
			
		||||
    else { push(@unknown_nodes, $node);}
 | 
			
		||||
    foreach(@$monnodes) {
 | 
			
		||||
      my $node=$_->[0];
 | 
			
		||||
      my $status=$_->[2];
 | 
			
		||||
      if ($status eq $::STATUS_ACTIVE) { push(@active_nodes, $node);}
 | 
			
		||||
      elsif ($status eq $::STATUS_INACTIVE) { push(@inactive_nodes, $node);}
 | 
			
		||||
      else { push(@unknown_nodes, $node);}
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
  $status{$::STATUS_ACTIVE}=\@active_nodes;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user