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;