Skip to content

Commit

Permalink
[Storage] Temporary fix to allow idempotent storage account creates (A…
Browse files Browse the repository at this point in the history
  • Loading branch information
williexu authored and troydai committed Sep 13, 2018
1 parent d76cb28 commit 54536a7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ def create_storage_account(cmd, resource_group_name, account_name, sku=None, loc
params.identity = Identity()
if https_only:
params.enable_https_traffic_only = https_only
# temporary fix to allow idempotent create when value is None. (sdk defaults with False)
params.is_hns_enabled = None

if NetworkRuleSet and (bypass or default_action):
if bypass and not default_action:
Expand Down

0 comments on commit 54536a7

Please sign in to comment.