mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 13:22:36 +00:00 
			
		
		
		
	Fix problem where nodestat with hosts table lookup fails
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14235 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -656,7 +656,7 @@ sub process_request_nmap {
 | 
			
		||||
	      }
 | 
			
		||||
	      $appsd =~ s/,$//;
 | 
			
		||||
	      my $target=$currnode;
 | 
			
		||||
	      if ($hostsents{$target} and $target = $hostsents{$target}->[0]->{ip}) { $target = $hostsents{$target}->[0]->{ip}; }
 | 
			
		||||
	      if ($hostsents{$target} and $hostsents{$target}->[0]->{ip}) { $target = $hostsents{$target}->[0]->{ip}; }
 | 
			
		||||
 | 
			
		||||
              if ($status or ($installquerypossible and $status = installer_query($target))) { #pingable, but no *clue* as to what the state may be
 | 
			
		||||
                  $ret->{$currnode}->{'status'}="ping";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user