You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2018/06/06 15:22:52 UTC
vcl git commit: fixed tabing in run_stage_scripts_on_management_node
Repository: vcl
Updated Branches:
refs/heads/develop f822f8cf3 -> 6741fa48d
fixed tabing in run_stage_scripts_on_management_node
Project: http://git-wip-us.apache.org/repos/asf/vcl/repo
Commit: http://git-wip-us.apache.org/repos/asf/vcl/commit/6741fa48
Tree: http://git-wip-us.apache.org/repos/asf/vcl/tree/6741fa48
Diff: http://git-wip-us.apache.org/repos/asf/vcl/diff/6741fa48
Branch: refs/heads/develop
Commit: 6741fa48d6e3d9f7cb4ee8c01328aebe41c566aa
Parents: f822f8c
Author: Josh Thompson <jf...@ncsu.edu>
Authored: Wed Jun 6 11:21:34 2018 -0400
Committer: Josh Thompson <jf...@ncsu.edu>
Committed: Wed Jun 6 11:21:34 2018 -0400
----------------------------------------------------------------------
.../lib/VCL/Module/OS/Linux/ManagementNode.pm | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/vcl/blob/6741fa48/managementnode/lib/VCL/Module/OS/Linux/ManagementNode.pm
----------------------------------------------------------------------
diff --git a/managementnode/lib/VCL/Module/OS/Linux/ManagementNode.pm b/managementnode/lib/VCL/Module/OS/Linux/ManagementNode.pm
index 81ab669..c3d0b6b 100644
--- a/managementnode/lib/VCL/Module/OS/Linux/ManagementNode.pm
+++ b/managementnode/lib/VCL/Module/OS/Linux/ManagementNode.pm
@@ -508,13 +508,13 @@ sub run_stage_scripts_on_management_node {
notify($ERRORS{'DEBUG'}, 0, "ignoring file on management node because it resides under intermediate directory '$matching_section': $script_file_path");
next;
}
-
- # Ignore the .gitignore files
- if ($script_file_path =~ /\.gitignore/i) {
- my $matching_section = $1;
- notify($ERRORS{'DEBUG'}, 0, "ignoring gitignore file on management node from script directory '$matching_section': $script_file_path");
- next;
- }
+
+ # Ignore the .gitignore files
+ if ($script_file_path =~ /\.gitignore/i) {
+ my $matching_section = $1;
+ notify($ERRORS{'DEBUG'}, 0, "ignoring gitignore file on management node from script directory '$matching_section': $script_file_path");
+ next;
+ }
my $command = "chmod +x $script_file_path && $script_file_path $mn_json_file_path";
my ($exit_status, $output) = $self->execute($command);