defect 4147 again - fix prescripts preprocess_request to only process nodes that have prescripts defined

This commit is contained in:
mellor 2014-06-03 11:32:07 -04:00
parent 5a52fb253d
commit 7a5fa1df0e

View File

@ -95,7 +95,7 @@ sub preprocess_request
Getopt::Long::Configure("bundling");
Getopt::Long::Configure("pass_through");
GetOptions('l' => \$::LOCAL);
my $sn = xCAT::ServiceNodeUtils->getSNformattedhash($nodes, $service, "MN");
my $sn = xCAT::ServiceNodeUtils->getSNformattedhash(\@nodes, $service, "MN");
my @requests;
if ($::LOCAL) { #only handle the local nodes
#print "process local nodes: @$nodes\n";