azure-cli-extensions icon indicating copy to clipboard operation
azure-cli-extensions copied to clipboard

[ContainerApp] Fix: az containerapp create --yaml always shows warning.

Open abij opened this issue 1 year ago • 5 comments

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

abij avatar Feb 08 '24 22:02 abij

⚠️Azure CLI Extensions Breaking Change Test
⚠️containerapp
rule cmd_name rule_message suggest_message
⚠️ 1009 - ParaPropRemove containerapp create cmd containerapp create update parameter revisions_mode: removed property default=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

yonzhan avatar Feb 08 '24 22:02 yonzhan

Thank you for your contribution abij! We will review the pull request and get back to you soon.

related issue: #7276

abij avatar Feb 08 '24 22:02 abij