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 8cf90fc [DATALAB-2321]: changed sg rule list function
8cf90fc is described below
commit 8cf90fcc88c691c648c3dfcec3054055668f24a1
Author: leonidfrolov <[email protected]>
AuthorDate: Mon May 17 17:36:38 2021 +0300
[DATALAB-2321]: changed sg rule list 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 06e4400..df38036 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(resource_group_name, sg_name)
+ result = self.network_client.network_security_groups.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]