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 c40d9e5 [DATALAB-2321]: changed output
c40d9e5 is described below
commit c40d9e55f89188f1d38065a723e6077e4115652d
Author: leonidfrolov <[email protected]>
AuthorDate: Mon May 17 16:13:12 2021 +0300
[DATALAB-2321]: changed output
---
.../src/general/scripts/azure/ssn_terminate.py | 4 +++-
1 file changed, 3 insertions(+), 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 e75d2cb..e52fd03 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
@@ -118,11 +118,13 @@ def terminate_ssn_node(resource_group_name,
service_base_name, vpc_name, region)
print("Removing subnets in predefined VPC")
try:
print('========')
- print(AzureMeta.list_subnets(resource_group_name,
os.environ['azure_vpc_name']))
+ print(AzureMeta.list_subnets(resource_group_name,
os.environ['azure_vpc_name']).json())
print('========2')
for subnet in AzureMeta.list_subnets(resource_group_name,
os.environ['azure_vpc_name']):
print('========3')
print(subnet)
+ print('========3')
+ print(json.dumps(subnet))
print('========5')
print(json.loads(str(subnet).replace('\'','"')))
if service_base_name in subnet['name']:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]