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 2021/03/10 12:32:16 UTC

[incubator-datalab] branch DATALAB-2321 updated: [DATALAB-2321]: changed list subnets request

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 88a85e7  [DATALAB-2321]: changed list subnets request
88a85e7 is described below

commit 88a85e714c8b06b0866a0cc8014bddab96afc1d1
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Wed Mar 10 14:31:16 2021 +0200

    [DATALAB-2321]: changed list subnets request
---
 infrastructure-provisioning/src/general/lib/azure/meta_lib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/general/lib/azure/meta_lib.py b/infrastructure-provisioning/src/general/lib/azure/meta_lib.py
index 9d23cb4..821d304 100644
--- a/infrastructure-provisioning/src/general/lib/azure/meta_lib.py
+++ b/infrastructure-provisioning/src/general/lib/azure/meta_lib.py
@@ -135,7 +135,7 @@ class AzureMeta:
 
     def list_subnets(self, resource_group_name, vpc_name):
         try:
-            result = self.network_client.subnets.list(resource_group_name, vpc_name)
+            result = self.network_client.virtual_networks.subnets.list(resource_group_name, vpc_name)
             return result
         except AzureExceptions.CloudError as err:
             if err.status_code == 404:


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