From 5bdfaa726b40c8ca633e54c27c6427c68201a955 Mon Sep 17 00:00:00 2001 From: ligc Date: Tue, 2 Jun 2009 01:35:35 +0000 Subject: [PATCH] Undo the code changes made for 2727882 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/DBobjectdefs.pm | 9 --------- 1 file changed, 9 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index d61095888..9ec3791d8 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -1876,15 +1876,6 @@ sub defch } } # end - if type = node - # If none of the attributes in nodelist is defined: groups,status,appstatus,primarysn,comments,disable - # the nodelist table will not be updated, caused chdef failed. - # We can give a restriction that the "groups" must be specified with chdef, - # but it is not so reasonable especially when the dynamic node group feature is implemented. - # fixing this issue with specifying an empty "groups" if the "groups" is not specified with the command line or stanza file - if (($type eq "node") && !defined($::FINALATTRS{$obj}{groups})) - { - $::FINALATTRS{$obj}{groups} = ''; - } } # end - for each object to update