From 722dd927432cf6b7d3baa094fa504d530335bf5f Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 26 Feb 2008 16:10:29 +0000 Subject: [PATCH] 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 --- perl-xCAT-2.0/xCAT/Table.pm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/perl-xCAT-2.0/xCAT/Table.pm b/perl-xCAT-2.0/xCAT/Table.pm index f85e6af24..e9c94119d 100644 --- a/perl-xCAT-2.0/xCAT/Table.pm +++ b/perl-xCAT-2.0/xCAT/Table.pm @@ -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->{$_}; + } } } }