update with use of _xcatpreprocessed

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3787 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2009-07-15 14:50:04 +00:00
parent 5a3cd7d7f6
commit 1593672eb9

View File

@ -151,7 +151,8 @@ sub preprocess_request {
return [$request];
}
if ($request->{_xcatdest}) { return [$request]; } #exit if preprocessed
if ($request->{_xcatpreprocessed}->[0] == 1) { return [$request]; }
# exit if preprocesses
my @requests;
my $noderange = $request->{node}; # array ref
@ -224,6 +225,7 @@ sub preprocess_request {
foreach my $snkey (keys %$sn){
my $reqcopy = {%$request};
$reqcopy->{'_xcatdest'} = $snkey;
$reqcopy->{_xcatpreprocessed}->[0] = 1;
my $hyps1=$sn->{$snkey};
my @moreinfo=();
my @nodes=();