azure-cli-extensions
azure-cli-extensions copied to clipboard
[ContainerApp] Fix: az containerapp create --yaml always shows warning.
Small fix for the warning: Additional flags were passed along with --yaml. These flags will be ignored, and the configuration defined in the yaml will be used instead
.
The documentation states that the default value for revisions_mode
(ActiveRevisionsMode) is "Single": containerapps-2023-08-01-preview
When this is initialised to None
, like most values, the warning does not appear.
General Guidelines
- [x] Have you run
azdev style <YOUR_EXT>
locally? (pip install azdev
required) - [x] Have you run
python scripts/ci/test_index.py -q
locally? (pip install wheel==0.30.0
required) - [x] My extension version conforms to the Extension version schema
⚠️Azure CLI Extensions Breaking Change Test
⚠️containerapp
rule cmd_name rule_message suggest_message ⚠️ 1009 - ParaPropRemove containerapp create cmd containerapp create
update parameterrevisions_mode
: removed propertydefault=single
Hi @abij, Please write the description of changes which can be perceived by customers into HISTORY.rst. If you want to release a new extension version, please update the version in setup.py as well.
ContainerApp
Thank you for your contribution abij! We will review the pull request and get back to you soon.
related issue: #7276