check if MN defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
d8b9521d56
commit
40a74f4310
@ -2992,10 +2992,12 @@ sub noderangecontainsMn
|
||||
}
|
||||
}
|
||||
}
|
||||
if (grep(/$mname/, @noderange)) { # if MN in the noderange
|
||||
return $mname;
|
||||
} else {
|
||||
return ;
|
||||
if ($mname) { # if Management Node defined in the database
|
||||
if (grep(/$mname/, @noderange)) { # if MN in the noderange
|
||||
return $mname;
|
||||
} else {
|
||||
return ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user