This is an automated email from the ASF dual-hosted git repository.

omartushevskyi pushed a commit to branch DLAB-1546
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-1546 by this push:
     new 749b31d  [DLAB-1546]: added name convention changes
749b31d is described below

commit 749b31ddb6bc3e7fa3f9b89deb834ea10a426eaf
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Mon Mar 2 15:52:25 2020 +0200

    [DLAB-1546]: added name convention changes
---
 infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py 
b/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py
index a946d43..31a7ce1 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py
@@ -69,7 +69,7 @@ if __name__ == "__main__":
 
         ssn_conf['ssn_unique_index'] = args.ssn_unique_index
         ssn_conf['service_base_name'] = os.environ['conf_service_base_name'] = 
dlab.fab.replace_multi_symbols(
-            os.environ['conf_service_base_name'.replace('_', '-')][:20], '-', 
True)
+            os.environ['conf_service_base_name'].replace('_', '-')[:20], '-', 
True)
         ssn_conf['instance_name'] = 
'{}-ssn'.format(ssn_conf['service_base_name'])
         ssn_conf['role_name'] = 
'{}-{}-ssn-role'.format(ssn_conf['service_base_name'], 
ssn_conf['ssn_unique_index'])
         ssn_conf['region'] = os.environ['gcp_region']


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to