fix for bug 2866597
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4257 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
90847d9be6
commit
66c9273207
@ -232,9 +232,13 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
|
||||
foreach (@allnodeset) {
|
||||
push @nodes,$_->{node};
|
||||
}
|
||||
my $nbyc = nodesbycriteria(\@nodes,[$atom])->{$atom};
|
||||
if (defined $nbyc) {
|
||||
return @$nbyc;
|
||||
my $nbyc_ref = nodesbycriteria(\@nodes,[$atom]);
|
||||
if ($nbyc_ref)
|
||||
{
|
||||
my $nbyc = $nbyc_ref->{$atom};
|
||||
if (defined $nbyc) {
|
||||
return @$nbyc;
|
||||
}
|
||||
}
|
||||
return ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user