From 39c7de2940043316d358764e199b3dbe3831e396 Mon Sep 17 00:00:00 2001 From: nott Date: Mon, 21 Jan 2008 19:49:55 +0000 Subject: [PATCH] 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 --- perl-xCAT-2.0/xCAT/DBobjUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT-2.0/xCAT/DBobjUtils.pm b/perl-xCAT-2.0/xCAT/DBobjUtils.pm index 666c1f7d3..8afd50026 100644 --- a/perl-xCAT-2.0/xCAT/DBobjUtils.pm +++ b/perl-xCAT-2.0/xCAT/DBobjUtils.pm @@ -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;