From e2e793d864ef8915325e430ff09f65ae10db012e Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 22 May 2013 18:24:28 +0000 Subject: [PATCH] fix defect 3580/3586 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16401 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Table.pm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/perl-xCAT/xCAT/Table.pm b/perl-xCAT/xCAT/Table.pm index 32868f6fd..704fa18bf 100644 --- a/perl-xCAT/xCAT/Table.pm +++ b/perl-xCAT/xCAT/Table.pm @@ -2902,10 +2902,14 @@ sub getAllNodeAttribs $self->{nrcache}->{$data->{$nodekey}}->{tstamp} = time(); } @nodes = @{$self->{nrcache}->{$data->{$nodekey}}->{value}}; #expand node entry, to make groups expand - unless (@nodes) { #in the event of an entry not in nodelist, use entry value verbatim - @nodes = ($data->{$nodekey}); - } + + #If node not in nodelist do not add to the hash (SF 3580) + #unless (@nodes) { #in the event of an entry not in nodelist, use entry value verbatim + # @nodes = ($data->{$nodekey}); + #} end SF 3580 + #my $localhash = $self->getNodesAttribs(\@nodes,$attribq); #NOTE: This is stupid, rebuilds the cache for every entry, FIXME + foreach (@nodes) { if ($donenodes{$_}) { next; }