From d3538e0de751fa4a5e92cbc12929b434dbb0ff17 Mon Sep 17 00:00:00 2001 From: yinle Date: Wed, 13 Jul 2011 02:48:35 +0000 Subject: [PATCH] fix bug 3364752 : makedhcp error with 7/11 build git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/dhcp.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index d919f77c5..63c99a747 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -692,7 +692,7 @@ sub preprocess_request #my $ntype = xCAT::DBobjUtils->getnodetype($n); my $ntable = xCAT::Table->new('nodetype'); if ($ntable) { - my $mytype = $ntable->getNodesAttribs($n,['nodetype']); + my $mytype = $ntable->getNodeAttribs($n,['nodetype']); if ($mytype =~ /osi/) { $Imsg++; } @@ -1146,7 +1146,7 @@ sub process_request #my $ntype = xCAT::DBobjUtils->getnodetype($n); my $ntable = xCAT::Table->new('nodetype'); if ($ntable) { - my $ntype = $ntable->getNodesAttribs($n,['nodetype']); + my $ntype = $ntable->getNodeAttribs($n,['nodetype']); # don't add if it is type "osi" unless ($ntype =~ /osi/) {