From deccf212ee1103a64b330d334fd61785f0b5dc8e Mon Sep 17 00:00:00 2001 From: yinle Date: Tue, 21 Feb 2012 06:03:04 +0000 Subject: [PATCH] minor fix git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/DBobjUtils.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/DBobjUtils.pm b/perl-xCAT/xCAT/DBobjUtils.pm index 9bcfdc781..467447a39 100644 --- a/perl-xCAT/xCAT/DBobjUtils.pm +++ b/perl-xCAT/xCAT/DBobjUtils.pm @@ -2296,8 +2296,7 @@ sub getnodetype # query table and use the global hash first ############################################ if ( $NODETYPEHASH{$nodes} ) { - $typehash{$nodes} = $NODETYPEHASH{$nodes}; - return \%typehash; + return $NODETYPEHASH{$nodes}; } else { my $typep = $nodetypetab->getNodeAttribs($nodes, ['nodetype']); if ( $typep->{nodetype} ) {