update with use of _xcatpreprocessed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
01bec082cc
commit
dd2b9d10af
@ -1883,7 +1883,7 @@ sub child_response {
|
||||
sub preprocess_request {
|
||||
|
||||
my $req = shift;
|
||||
if ($req->{_xcatdest}) { return [$req]; } #exit if preprocessed
|
||||
if ($req->{_xcatpreprocessed}->[0] == 1) { return [$req]; }
|
||||
my $callback=shift;
|
||||
my @requests;
|
||||
|
||||
@ -1921,6 +1921,7 @@ sub preprocess_request {
|
||||
foreach my $sn (keys (%sv_hash)) {
|
||||
my $reqcopy = {%$req};
|
||||
$reqcopy->{_xcatdest} = $sn;
|
||||
$reqcopy->{_xcatpreprocessed}->[0] = 1;
|
||||
push @result, $reqcopy;
|
||||
}
|
||||
return \@result;
|
||||
|
Loading…
Reference in New Issue
Block a user