Fix inheritance from multiple group level definitions

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@578 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-02-26 16:10:29 +00:00
parent e375bdf7f7
commit 722dd92743

View File

@ -996,10 +996,12 @@ sub getNodeAttribs_nosub
$return = 1;
$datum->{$_} = $tent->{$_};
} else { #attempt to fill in gapped attributes
my $sent = $self->getNodeAttribs_nosub_returnany($node, [$_]);
if ($sent and defined($sent->{$_})) {
$return = 1;
$datum->{$_} = $sent->{$_};
unless (scalar(@$attref) <= 1) {
my $sent = $self->getNodeAttribs($node, [$_]);
if ($sent and defined($sent->{$_})) {
$return = 1;
$datum->{$_} = $sent->{$_};
}
}
}
}