You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by lf...@apache.org on 2020/08/04 09:43:05 UTC
[incubator-dlab] branch DLAB-1594-2 updated: [DLAB-1594]: fixed
error
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 4e7a0d4 [DLAB-1594]: fixed error
4e7a0d4 is described below
commit 4e7a0d4ceaa22293a9824ca42b6a7c9286ff86ae
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Aug 4 12:42:42 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 0683908..029049a 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 line in lines:
if searched_str in line:
line = replacement_line
- sudo('echo "{}" >> {}'.format, file_path)
+ sudo('echo "{}" >> {}'.format(line, file_path)
#with open(file_path, 'w') as file:
#file.writelines(lines)
except Exception as err:
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org