mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-13 01:40:26 +00:00
add check for request processed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11487 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@ -107,9 +107,14 @@ sub preprocess_request {
|
||||
# get sent up to the MN
|
||||
|
||||
my $req = shift;
|
||||
unless ( defined( $req->{_xcatdest} ) ) {
|
||||
$req->{_xcatdest} = xCAT::Utils->get_site_Master();
|
||||
#if already preprocessed, go straight to request
|
||||
if ( (defined($req->{_xcatpreprocessed}))
|
||||
&& ($req->{_xcatpreprocessed}->[0] == 1))
|
||||
{
|
||||
return [$req];
|
||||
}
|
||||
|
||||
$req->{_xcatdest} = xCAT::Utils->get_site_Master();
|
||||
return [$req];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user