-Fix getNodeAttribs

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-09-30 14:30:58 +00:00
parent 7b8b614c1b
commit c3e5302619

View File

@ -2224,6 +2224,9 @@ sub getNodeAttribs
#if ($extra) { return undef; } # return (undef,"Ambiguous query"); }
defined($data[0])
|| return undef; #(undef,"No matching entry found in configuration");
unless (scalar keys %{$data[0]}) {
return undef;
}
my $attrib;
foreach $datum (@data) {
foreach $attrib (@attribs)