Skip to content

Commit

Permalink
{Storage} Fix Azure#26673: az storage account or-policy create pri…
Browse files Browse the repository at this point in the history
…nt out error info (Azure#26706)
  • Loading branch information
calvinhzy committed Jun 28, 2023
1 parent 0b7e3e6 commit 35d054b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,7 @@ def create_or_policy(cmd, client, account_name, resource_group_name=None, proper
if account_name == parse_resource_id(or_policy.source_account)['name']:
raise CLIError('ValueError: Please specify --policy-id with auto-generated policy id value on '
'destination account.')
raise ex


def update_or_policy(client, parameters, resource_group_name, account_name, object_replication_policy_id=None,
Expand Down

0 comments on commit 35d054b

Please sign in to comment.