From 04715a869f33187eb896672f8e506cdcb1477d1c Mon Sep 17 00:00:00 2001 From: nott Date: Tue, 30 Sep 2008 12:55:41 +0000 Subject: [PATCH] Fix lsdef so it displays password and username attrs. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/DBobjUtils.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/DBobjUtils.pm b/perl-xCAT/xCAT/DBobjUtils.pm index ac0acd4f3..34b45fe8e 100644 --- a/perl-xCAT/xCAT/DBobjUtils.pm +++ b/perl-xCAT/xCAT/DBobjUtils.pm @@ -144,6 +144,9 @@ sub getObjectsOfType Comments: + TODO - this routine makes too many calls to the DB + - maybe look up all tables for the obj types up front + =cut #----------------------------------------------------------------------------- @@ -280,7 +283,9 @@ sub getobjdefs # Get the attr values from the DB tables # - if ($type eq 'node') + # if ($type eq 'node') + # lookup_attr is the key to the table we are looking in + if ($lookup_attr eq 'node') { my $thistable; my $needtocommit = 0;