fix defect 3625

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16643 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2013-06-17 15:57:39 +00:00
parent a55349b5af
commit c5bba25f7e

View File

@ -121,8 +121,10 @@ sub validate {
if ($rule->{rule} =~ /allow/i or $rule->{rule} =~ /accept/i or $rule->{rule} =~ /trusted/i) {
$matchall=1;
}
use xCAT::NodeRange;
if (defined $request->{noderange}->[0]) {
my @tmpn=noderange($request->{noderange}->[0]);
my @tmpn= xCAT::NodeRange::noderange($request->{noderange}->[0]);
$request->{node}=\@tmpn;
}
unless (defined $request->{node}) {