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 adbfa3a [DATALAB-2321]: changed list_security_group_rules
adbfa3a is described below
commit adbfa3a562867cecaa06ecf6f099f37a0806fe11
Author: leonidfrolov <[email protected]>
AuthorDate: Tue May 18 10:11:08 2021 +0300
[DATALAB-2321]: changed list_security_group_rules
---
infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
b/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
index 87dc842..5b930c8 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
@@ -133,7 +133,7 @@ def terminate_ssn_node(resource_group_name,
service_base_name, vpc_name, region)
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)
+ print(rule['name'])
#rule_name = str(rule)[str(rule).find("'name': '") + 9 :
str(rule).find("', 'etag':")]
#print(rule_name)
#AzureActions.remove_security_rules(os.environ['azure_edge_security_group_name'],
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]