Skip to content

Commit ec9036d

Browse files
committed
test_provider_operation
1 parent 9984b51 commit ec9036d

File tree

2 files changed

+19478
-6325
lines changed

2 files changed

+19478
-6325
lines changed

src/azure-cli/azure/cli/command_modules/resource/custom.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3119,10 +3119,7 @@ def list_provider_permissions(cmd, resource_provider_namespace):
31193119

31203120

31213121
def show_provider_operations(cmd, resource_provider_namespace):
3122-
version = getattr(get_api_version(cmd.cli_ctx, ResourceType.MGMT_AUTHORIZATION), 'provider_operations_metadata')
31233122
auth_client = _authorization_management_client(cmd.cli_ctx)
3124-
if version == '2015-07-01':
3125-
return auth_client.provider_operations_metadata.get(resource_provider_namespace, api_version=version)
31263123
return auth_client.provider_operations_metadata.get(resource_provider_namespace)
31273124

31283125

0 commit comments

Comments
 (0)