Conversation
…recontainerstorage
️✔️AzureCLI-FullTest
|
|
Hi @nearora-msft, |
There was a problem hiding this comment.
Pull Request Overview
This PR fixes a typo in validation error messages for the Azure Container Storage disable functionality in the AKS module. The error message incorrectly referenced the --enable-azure-container-storage parameter when it should reference --disable-azure-container-storage.
- Fixed typo in error message to correctly reference the disable parameter instead of enable parameter
- Updated both the validator implementation and corresponding test case
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/azure-cli/azure/cli/command_modules/acs/azurecontainerstorage/_validators.py | Fixed error message to reference correct parameter name |
| src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_validators.py | Updated test case to match corrected error message |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
️✔️AzureCLI-BreakingChangeTest
|
|
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>
|
az aks update: Fix typo on validation error for disabling azurecontainerstorageaz aks update: Fix typo on validation error for disabling Azure Container Storage
Related command
az aks update
Description
Fixes a typo in the validation errors
Testing Guide
az aks update --disable-azure-container-storage all
History Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis 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.