Skip to content

Commit

Permalink
[Storage] Fix #22845: az storage account genarete-sas: Fix the flag…
Browse files Browse the repository at this point in the history
… `--auth-mode login` cause AttributeError (#22854)

* fix storage account login error

* fix

* fix

* fix

* fix

* fix

* remove --auth-mode

* fix
  • Loading branch information
jonie001 authored Jun 30, 2022
1 parent d5514f3 commit 93d2b3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def get_custom_sdk(custom_module, client_factory, resource_type=ResourceType.DAT
resource_type=ResourceType.DATA_STORAGE_BLOB)
with self.command_group('storage account', resource_type=ResourceType.DATA_STORAGE_BLOB,
custom_command_type=account_blob_service_custom_sdk) as g:
g.storage_custom_command_oauth('generate-sas', 'generate_sas')
g.storage_custom_command('generate-sas', 'generate_sas')

blob_inventory_sdk = CliCommandType(
operations_tmpl='azure.mgmt.storage.operations#BlobInventoryPoliciesOperations.{}',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
interactions: []
version: 1
version: 1

0 comments on commit 93d2b3b

Please sign in to comment.