mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-12 00:00:12 +00:00
bug 2810670: defrm foreach logic error fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@ -2849,6 +2849,11 @@ sub defrm
|
||||
my $memberlist = xCAT::DBobjUtils->getGroupMembers($obj, \%grphash);
|
||||
my @members = split(',', $memberlist);
|
||||
|
||||
# No node in the group
|
||||
if (scalar(@members) == 0)
|
||||
{
|
||||
next;
|
||||
}
|
||||
# foreach member node of the group
|
||||
my %nodehash;
|
||||
my %nhash;
|
||||
|
Reference in New Issue
Block a user