diff --git a/perl-xCAT/xCAT/DBobjUtils.pm b/perl-xCAT/xCAT/DBobjUtils.pm index fbc294cb1..963c8c649 100644 --- a/perl-xCAT/xCAT/DBobjUtils.pm +++ b/perl-xCAT/xCAT/DBobjUtils.pm @@ -280,7 +280,7 @@ sub getobjdefs # Get the attr values from the DB tables # - if ($lookup_attr eq 'node') + if ($type eq 'node') { my $thistable; my $needtocommit = 0;