fix defect 3625

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2013-06-17 15:58:45 +00:00
parent c4ac51c87d
commit 428c8f299d

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}) {