From e28e853415c621e7831c0260de1323b12400f6a4 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Mon, 9 Oct 2023 09:12:07 -0700 Subject: [PATCH] Update src/azure-cli/azure/cli/command_modules/acs/custom.py Co-authored-by: Yan Zhu <105691024+yanzhudd@users.noreply.github.com> --- src/azure-cli/azure/cli/command_modules/acs/custom.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/acs/custom.py b/src/azure-cli/azure/cli/command_modules/acs/custom.py index ed82c99455b..5529f28fcda 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/custom.py +++ b/src/azure-cli/azure/cli/command_modules/acs/custom.py @@ -2289,9 +2289,9 @@ def aks_agentpool_upgrade(cmd, client, resource_group_name, cluster_name, # Note: we exclude this option because node image upgrade can't accept nodepool put fields like max surge if (max_surge or drain_timeout) and node_image_only: raise MutuallyExclusiveArgumentError( - 'Conflicting flags. Unable to specify max-surge/drain_timeout with node-image-only.' - 'If you want to use max-surge/drain_timeout with a node image upgrade, please first ' - 'update max-surge/drain_timeout using "az aks nodepool update --max-surge".' + 'Conflicting flags. Unable to specify max-surge/drain-timeout with node-image-only.' + 'If you want to use max-surge/drain-timeout with a node image upgrade, please first ' + 'update max-surge/drain-timeout using "az aks nodepool update --max-surge/--drain-timeout".' ) if node_image_only: