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 a3104c3 [DATALAB-2321]: changed list_security_group_rules meta lib
function
a3104c3 is described below
commit a3104c3be5dc0f665e2b8c371a35da44c9287e7c
Author: leonidfrolov <[email protected]>
AuthorDate: Tue May 18 10:06:45 2021 +0300
[DATALAB-2321]: changed list_security_group_rules meta lib function
---
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 df38036..6770616 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_security_group_rules(self, resource_group_name, sg_name):
try:
- result = self.network_client.network_security_groups.list(sg_name,
resource_group_name)
+ result = self.network_client.security_rules.list(sg_name,
resource_group_name)
return result
except AzureExceptions.CloudError as err:
if err.status_code == 404:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]