change the / to | for dynamic node group regular expression
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
137f2978c0
commit
7f28622333
@ -1556,10 +1556,10 @@ sub getGroupMembers
|
||||
|
||||
foreach my $testattr (keys %whereHash)
|
||||
{
|
||||
if ($whereHash{$testattr} =~ /^\//)
|
||||
if ($whereHash{$testattr} =~ /^\|/)
|
||||
{ # wherevals includes regular expression
|
||||
my $tmpwherestring = $whereHash{$testattr};
|
||||
$tmpwherestring =~ /^\/(.*)\/$/g;
|
||||
$tmpwherestring =~ /^\|(.*)\|$/g;
|
||||
$tmpwherestring = $1;
|
||||
if (!defined($myhash{$objname}{$testattr}) || ($myhash{$objname}{$testattr} !~ /$tmpwherestring/) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user