From 471f10420235410def5f52dab0269e4269a57c89 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file perl-xCAT/xCAT/Scope.pm --- perl-xCAT/xCAT/Scope.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/perl-xCAT/xCAT/Scope.pm b/perl-xCAT/xCAT/Scope.pm index 215709361..b1eeaf204 100644 --- a/perl-xCAT/xCAT/Scope.pm +++ b/perl-xCAT/xCAT/Scope.pm @@ -33,7 +33,7 @@ sub split_node_array { my $capacity = shift; if ($max_sub < 2) {return [$source];} - + my @dest = (); my $total = $#{$source} + 1; my $n_sub = int ($total / $capacity); @@ -83,7 +83,7 @@ sub split_node_array { =head3 get_parallel_scope - Convert a request object to an array of multiple requests according to the + Convert a request object to an array of multiple requests according to the splitted node range. Arguments: @@ -112,7 +112,7 @@ sub get_parallel_scope { # Just return the origin one if node range is not big enough. if ($#{$subsets} < 1) { return [$req]; } - my @requests = (); + my @requests = (); foreach (@$subsets) { my $reqcopy = {%$req}; $reqcopy->{node} = $_; @@ -125,7 +125,7 @@ sub get_parallel_scope { =head3 get_broadcast_scope_with_parallel - Convert a request object to an array of multiple requests according to the + Convert a request object to an array of multiple requests according to the splitted node range. Also it replicates the requests to all required service nodes or management node. @@ -186,9 +186,9 @@ sub get_broadcast_scope_with_parallel { =head3 get_broadcast_disjoint_scope_with_parallel - Convert a request object to an array of multiple requests according to the + Convert a request object to an array of multiple requests according to the splitted node range. Also it replicates the requests to all required service - nodes or management node, but the request to a service node will only contains + nodes or management node, but the request to a service node will only contains the node range it manages. Arguments: