Skip to content

Commit

Permalink
{AKS} az aks nodepool add: Fix the value of option --zones not be…
Browse files Browse the repository at this point in the history
…ing transmitted correctly (#4970)
  • Loading branch information
FumingZhang authored Jun 10, 2022
1 parent 2cb1408 commit 8eabe39
Show file tree
Hide file tree
Showing 5 changed files with 1,432 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/aks-preview/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ To release a new version, please select a new version number (usually plus 1 to
Pending
+++++++

0.5.80
++++++

* Fix the value of option --zones not being transmitted correctly for `az aks nodepool add`, see issue `\#4953 <https://github.com/Azure/azure-cli-extensions/issues/4953>`_.

0.5.79
++++++

Expand Down
2 changes: 1 addition & 1 deletion src/aks-preview/azext_aks_preview/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -1754,7 +1754,7 @@ def aks_agentpool_add(cmd, # pylint: disable=unused-argument,too-many-local
agent_pool_type="VirtualMachineScaleSets",
max_pods=int(max_pods) if max_pods else None,
orchestrator_version=kubernetes_version,
availability_zones=node_zones,
availability_zones=zones if zones else node_zones,
enable_node_public_ip=enable_node_public_ip,
node_public_ip_prefix_id=node_public_ip_prefix_id,
node_taints=taints_array,
Expand Down
Loading

0 comments on commit 8eabe39

Please sign in to comment.