You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2020/10/02 15:34:20 UTC

[incubator-datalab] 08/10: [DLAB-1911]: added missed variable definition

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

lfrolov pushed a commit to branch DLAB-1911
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit f10bc94e8a892bf4d5c5cf3401a832bf91b2cc4a
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Fri Oct 2 17:01:33 2020 +0300

    [DLAB-1911]: added missed variable definition
---
 infrastructure-provisioning/src/general/scripts/azure/project_prepare.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/infrastructure-provisioning/src/general/scripts/azure/project_prepare.py b/infrastructure-provisioning/src/general/scripts/azure/project_prepare.py
index c4ad818..a80f9d4 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/project_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/project_prepare.py
@@ -179,6 +179,7 @@ if __name__ == "__main__":
                 endpoint_ip = AzureMeta.get_instance_public_ip_address(project_conf['resource_group_name'],
                                                          '{}-{}-endpoint'.format(project_conf['service_base_name'], project_conf['endpoint_name']))
             priority = 110
+            priorities = list()
             rules_list = AzureMeta.get_security_group(project_conf['resource_group_name'], os.environ['azure_edge_security_group_name'])
             for rule in rules_list.as_dict()['security_rules']:
                 priorities.append(rule['priority'])


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