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 d4322bb [DATALAB-2321]: added output
d4322bb is described below
commit d4322bb130d4ed79caac3fdd96604c800094078c
Author: leonidfrolov <[email protected]>
AuthorDate: Mon May 17 15:54:31 2021 +0300
[DATALAB-2321]: added output
---
.../src/general/scripts/azure/ssn_terminate.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
b/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
index 15e7f27..4fe6ed7 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
@@ -123,6 +123,10 @@ def terminate_ssn_node(resource_group_name,
service_base_name, vpc_name, region)
for subnet in AzureMeta.list_subnets(resource_group_name,
os.environ['azure_vpc_name']):
print('========3')
print(subnet)
+ print('========4')
+ print(subnet['name'])
+ print('========5')
+ print(json.loads(subnet))
if service_base_name in subnet['name']:
AzureActions.remove_subnet(resource_group_name,
os.environ['azure_vpc_name'], subnet['name'])
print("Subnet {} has been removed from VPC
{}".format(i['name'], os.environ['azure_vpc_name']))
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]