Fix blade to once again work correctly with bladecenter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16189 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
8ae4adb75c
commit
6f69796223
@ -428,10 +428,10 @@ sub eventlog { #Tried various optimizations, but MM seems not to do bulk-request
|
||||
my $matchstring;
|
||||
if ($slot > 0) {
|
||||
#$matchstring=sprintf("BLADE_%02d",$slot);
|
||||
$matchstring=sprintf("NODE_%02d",$slot);
|
||||
$matchstring=sprintf("(NODE_%02d|BLADE_%02d)",$slot,$slot);
|
||||
} else {
|
||||
#$matchstring="^(?!BLADE).*";
|
||||
$matchstring="^(?!NODE).*";
|
||||
$matchstring="^(?!(NODE|BLADE)).*";
|
||||
}
|
||||
if ($source =~ m/$matchstring$/i) { #MM guys changed their minds on capitalization
|
||||
if (defined($order)) {
|
||||
@ -446,7 +446,7 @@ sub eventlog { #Tried various optimizations, but MM seems not to do bulk-request
|
||||
} else {
|
||||
foreach (@moreslots) {
|
||||
#$matchstring=sprintf("BLADE_%02d",$_);
|
||||
$matchstring=sprintf("NODE_%02d",$_);
|
||||
$matchstring=sprintf("(NODE_%02d|BLADE_%02d",$_,$_);
|
||||
if ($source =~ m/$matchstring$/i) { #MM guys changed their minds on capitalization
|
||||
if (defined($order)) {
|
||||
$numentries++;
|
||||
|
Loading…
Reference in New Issue
Block a user