"getnodetype performance improvement": change getnodetype related code.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2012-02-10 10:46:03 +00:00
parent 2d5285dc50
commit c80bdf5aad

View File

@ -1310,7 +1310,7 @@ sub getHMCcontrolIP
my $exp = shift;
#get node type first
my $type = xCAT::DBobjUtils::getnodetype($node);
my $type = xCAT::DBobjUtils::getnodetype($node, "ppc");
unless ($type)
{
return undef;