This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DLAB-1594-2
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1594-2 by this push:
new fb91ae1 [DLAB-1594]: fixed error
fb91ae1 is described below
commit fb91ae1112b521b65a572a397297c6328880ee5e
Author: leonidfrolov <[email protected]>
AuthorDate: Tue Aug 4 14:02:13 2020 +0300
[DLAB-1594]: fixed error
---
infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
b/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
index 7bd5766..c5d9322 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
@@ -158,7 +158,7 @@ def find_replace_line(file_path, searched_str,
replacement_line):
for n, line in enumerate(lines):
if searched_str in line:
lines[n] = replacement_line
- sudo('echo "{}" >> {}'.format(lines[n], file_path)
+ sudo('echo "{}" >> {}'.format(lines[n], file_path))
except Exception as err:
traceback.print_exc()
print('Failed to replace string: ' + str(err))
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]