This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2321
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/DATALAB-2321 by this push:
new 7c59271 [DATALAB-2321]: changed rule list
7c59271 is described below
commit 7c592712902741551678ac123a71bca45493e70c
Author: leonidfrolov <[email protected]>
AuthorDate: Tue May 18 10:07:24 2021 +0300
[DATALAB-2321]: changed rule list
---
.../src/general/scripts/azure/ssn_terminate.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
b/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
index 4e23aef..87dc842 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
@@ -130,8 +130,8 @@ def terminate_ssn_node(resource_group_name,
service_base_name, vpc_name, region)
try:
if 'azure_edge_security_group_name' in os.environ:
print('======')
- print(str(AzureMeta.list_security_group_rules(resource_group_name,
os.environ['azure_edge_security_group_name'])['value']))
- for rule in
AzureMeta.list_security_group_rules(resource_group_name,
os.environ['azure_edge_security_group_name'])['value']:
+ print(str(AzureMeta.list_security_group_rules(resource_group_name,
os.environ['azure_edge_security_group_name'])))
+ for rule in
AzureMeta.list_security_group_rules(resource_group_name,
os.environ['azure_edge_security_group_name']):
print('=======')
print(rule)
#rule_name = str(rule)[str(rule).find("'name': '") + 9 :
str(rule).find("', 'etag':")]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]