add the logic if the daemon has already processed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11507 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
07249c24e6
commit
206d7ab908
@ -36,6 +36,14 @@ sub handled_commands {
|
||||
##########################################################################
|
||||
sub preprocess_request {
|
||||
my ($arg1, $arg2, $arg3) = @_;
|
||||
|
||||
#if already preprocessed, go straight to request
|
||||
if ((defined($arg1->{_xcatpreprocessed}))
|
||||
&& ($arg1->{_xcatpreprocessed}->[0] == 1))
|
||||
{
|
||||
return [$arg1];
|
||||
}
|
||||
|
||||
if ($arg1->{command}->[0] eq "gethmccon") { #Can handle it here and now
|
||||
my $node = $arg1->{noderange}->[0];
|
||||
my $callback = $arg2;
|
||||
|
@ -36,6 +36,14 @@ sub handled_commands {
|
||||
##########################################################################
|
||||
sub preprocess_request {
|
||||
my ($arg1, $arg2, $arg3) = @_;
|
||||
|
||||
#if already preprocessed, go straight to request
|
||||
if ((defined($arg1->{_xcatpreprocessed}))
|
||||
&& ($arg1->{_xcatpreprocessed}->[0] == 1))
|
||||
{
|
||||
return [$arg1];
|
||||
}
|
||||
|
||||
if ($arg1->{command}->[0] eq "gethmccon") { #Can handle it here and now
|
||||
my $node = $arg1->{noderange}->[0];
|
||||
my $callback = $arg2;
|
||||
|
Loading…
Reference in New Issue
Block a user