You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by om...@apache.org on 2019/12/12 15:23:35 UTC

[incubator-dlab] branch DLAB-1376 updated: [DLAB-1376]: Added local endpoint check

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

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


The following commit(s) were added to refs/heads/DLAB-1376 by this push:
     new 2177315  [DLAB-1376]: Added local endpoint check
2177315 is described below

commit 2177315abb0a482f6fa82affb621afe064917a86
Author: Oleh Martushevskyi <Ol...@epam.com>
AuthorDate: Thu Dec 12 17:23:21 2019 +0200

    [DLAB-1376]: Added local endpoint check
---
 infrastructure-provisioning/src/general/scripts/aws/project_prepare.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/general/scripts/aws/project_prepare.py b/infrastructure-provisioning/src/general/scripts/aws/project_prepare.py
index 899ff54..4e7632f 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/project_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/project_prepare.py
@@ -143,7 +143,7 @@ if __name__ == "__main__":
                                                                                        project_conf['endpoint_tag'])
     print('Additional tags will be added: {}'.format(os.environ['conf_additional_tags']))
 
-    if project_conf['local_endpoint']:
+    if not project_conf['local_endpoint']:
         # attach project_tag and endpoint_tag to endpoint
         try:
             endpoint_id = get_instance_by_name(project_conf['tag_name'], project_conf['endpoint_name'])


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org