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:
parent
6464143589
commit
83ea798bcd
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user