Fix getobjdefs so it uses the correct subroutine

to read node attributes. Not all node attributes
can be accessed by using a key of "node"!

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@305 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2008-01-21 19:49:55 +00:00
parent 4ff63ac90b
commit 39c7de2940

View File

@ -253,7 +253,7 @@ sub getobjdefs
# Get the attr values from the DB tables
#
if ($type eq 'node')
if ($lookup_attr eq 'node')
{
my $thistable;