From dc4d460bd30717b55902c0e7c48e7fa99c035475 Mon Sep 17 00:00:00 2001 From: ligc Date: Sat, 10 Oct 2009 03:20:33 +0000 Subject: [PATCH] fix for bug 2873042: set {}{objtype} before calling xCAT::DBobjUtils->setobjdefs if the group does not exist git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4336 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/DBobjectdefs.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index 934e89862..474f80223 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -1668,6 +1668,7 @@ sub defch { $membhash{$n}{groups} = $obj; + $membhash{$n}{objtype} = 'node'; } $::plus_option = 1; $::minus_option = 0;