-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[AKS] az aks create/az aks nodepool add: Emit error message when using --asg-ids alone without --allowed-host-ports
#30768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
--asg-ids alone without `--allowed-ho…--asg-ids alone without --allowed-host-ports
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
--asg-ids alone without --allowed-host-ports--asg-ids alone without --allowed-host-ports
|
@microsoft-github-policy-service agree company="Microsoft" |
8340039 to
9a27027
Compare
FumingZhang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change looks good to me, 2 comments
- Could you update the PR title (starting with
[AKS]) or write a separate history note in the PR description? This is a user-visible change, so it would be nice to have a corresponding note. - Could you also apply the change to cli-extensions/aks-preview?
--asg-ids alone without --allowed-host-ports--asg-ids alone without --allowed-host-ports
|
Thanks for the review. Updated the title and will update the extension. @FumingZhang |
--asg-ids alone without --allowed-host-portsaz aks create | az aks nodepool add Emit error message when using --asg-ids alone without --allowed-host-ports
az aks create | az aks nodepool add Emit error message when using --asg-ids alone without --allowed-host-portsaz aks create | az aks nodepool add: Emit error message when using --asg-ids alone without --allowed-host-ports
FumingZhang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
az aks create | az aks nodepool add: Emit error message when using --asg-ids alone without --allowed-host-portsaz aks create/az aks nodepool add: Emit error message when using --asg-ids alone without --allowed-host-ports
Related command
az aks createaz aks nodepool addDescription
Before this change, users could use
--asg-idsalone without specifying--allowed-host-ports, which did nothing at all. This PR will now show an error message if that happens.Testing Guide
History Notes
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.