fix so that it now still calls processing of usage instead of exiting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3455 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
d7da099cf2
commit
610ac90036
@ -75,7 +75,6 @@ sub getstat {
|
||||
sub preprocess_request
|
||||
{
|
||||
my $req = shift;
|
||||
return [$req]; #For now, do not distribute, nodestat seems to lose accuracy and slow down distributed
|
||||
my $cb = shift;
|
||||
my %sn;
|
||||
if ($req->{_xcatdest}) { return [$req]; } #exit if preprocessed
|
||||
@ -83,6 +82,7 @@ sub preprocess_request
|
||||
my $service = "xcat";
|
||||
my @requests;
|
||||
if ($nodes){
|
||||
return [$req]; #For now, do not distribute, nodestat seems to lose accuracy and slow down distributed
|
||||
# find service nodes for requested nodes
|
||||
# build an individual request for each service node
|
||||
my $sn = xCAT::Utils->get_ServiceNode($nodes, $service, "MN");
|
||||
|
Loading…
Reference in New Issue
Block a user