Skip to content

Commit

Permalink
Fix batch ai cluster auto storage account creation issue (#7132)
Browse files Browse the repository at this point in the history
* Fix batch ai cluster auto storage account creation issue

* bump up Batch AI version

* Update Batch AI History.rst

* Update Batch AI Release History with more detail fix information
  • Loading branch information
llidev authored and tjprescott committed Aug 24, 2018
1 parent 84b8dbf commit 81a9a16
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/command_modules/azure-cli-batchai/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

0.4.3
+++++
* Fix auto storage account creation failure in `az batchai cluster create` command

0.4.2
+++++
* Minor fixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ def _create_auto_storage_account(storage_client, resource_group, location):
name = _generate_auto_storage_account_name()
check = storage_client.storage_accounts.check_name_availability(name).name_available
storage_client.storage_accounts.create(resource_group, name, {
'sku': Sku(SkuName.standard_lrs),
'sku': Sku(name=SkuName.standard_lrs),
'kind': Kind.storage,
'location': location}).result()
return name
Expand Down
2 changes: 1 addition & 1 deletion src/command_modules/azure-cli-batchai/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}

VERSION = "0.4.2"
VERSION = "0.4.3"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [
Expand Down

0 comments on commit 81a9a16

Please sign in to comment.