Skip to content

Commit 936acfb

Browse files
committed
[AKS] az aks create: Fix minor issue with --enable-azure-container-storage
1 parent f7c9331 commit 936acfb

File tree

1 file changed

+1
-1
lines changed
  • src/azure-cli/azure/cli/command_modules/acs/azurecontainerstorage

1 file changed

+1
-1
lines changed

src/azure-cli/azure/cli/command_modules/acs/azurecontainerstorage/_validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ def _validate_nodepools( # pylint: disable=too-many-branches,too-many-locals
661661
'and retry the Azure Container Storage operation.'
662662
)
663663
vm_size = agentpool.get("vm_size")
664-
if vm_size is not None:
664+
if vm_size is not None and vm_size != "":
665665
cpu_value, nvme_enabled = get_vm_sku_details(vm_size.lower())
666666
if cpu_value is None or nvme_enabled is None:
667667
raise UnknownError(

0 commit comments

Comments
 (0)