mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	update with use of _xcatpreprocessed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3795 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -77,7 +77,7 @@ sub preprocess_request | ||||
|     my $req = shift; | ||||
|     my $cb  = shift; | ||||
|     my %sn; | ||||
|     if ($req->{_xcatdest}) { return [$req]; }    #exit if preprocessed | ||||
|     if ($req->{_xcatpreprocessed}->[0] == 1) { return [$req]; } | ||||
|     my $nodes    = $req->{node}; | ||||
|     my $service  = "xcat"; | ||||
|     my @requests; | ||||
| @@ -93,6 +93,7 @@ sub preprocess_request | ||||
|             my $reqcopy = {%$req}; | ||||
|             $reqcopy->{node} = $sn->{$snkey}; | ||||
|             $reqcopy->{'_xcatdest'} = $snkey; | ||||
|             $reqcopy->{_xcatpreprocessed}->[0] = 1; | ||||
|             push @requests, $reqcopy; | ||||
|  | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user