From 4aba90d0292167ac361fea54c44e138712f1f162 Mon Sep 17 00:00:00 2001
From: ligc <ligc@8638fb3e-16cb-4fca-ae20-7b5d299a9bcd>
Date: Sat, 10 Oct 2009 01:55:15 +0000
Subject: [PATCH] fix for bug 2871459: should not return error message when the
 table is empty

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4335 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
---
 perl-xCAT/xCAT/DBobjUtils.pm | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/perl-xCAT/xCAT/DBobjUtils.pm b/perl-xCAT/xCAT/DBobjUtils.pm
index fff6ac256..9e9785483 100644
--- a/perl-xCAT/xCAT/DBobjUtils.pm
+++ b/perl-xCAT/xCAT/DBobjUtils.pm
@@ -507,14 +507,6 @@ sub getobjdefs
                          } #end if ($match...
                     } #end foreach
                 } # end if (defined...
-                else
-                {
-                    my $rsp;
-                    $rsp->{data}->[0] =
-                          "Could not read the \'$lookup_table\' table from the xCAT database.";
-                    xCAT::MsgUtils->message("E", $rsp, $::callback);
-                    return undef;
-                }
             } #end if ($intabhash...
         } #end foreach my $this_attr