[Container App] 'az containerapp create --yaml' always shows warning about additional arguments. #7276
Labels
Auto-Assign
Auto assign by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
ContainerApp
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Service Attention
This issue is responsible by Azure service team.
Describe the bug
The warning is always triggered:
azure-cli-extensions/src/containerapp/azext_containerapp/containerapp_decorator.py
Line 809 in e71b504
Because the
self.get_argument_revisions_mode()
is specified as a default argument as "single" see:azure-cli-extensions/src/containerapp/azext_containerapp/custom.py
Line 405 in e71b504
Related command
az containerapp create -g rg-container-app1 -n myapp --yaml myapp.yaml
Errors
Warning:
Additional flags were passed along with --yaml. These flags will be ignored, and the configuration defined in the yaml will be used instead
Issue script & Debug output
no need
Expected behavior
Everything specified in yaml, should not raise a warning when creating/updating a containerapp with minimal cli arguments.
Environment Summary
azure-cli 2.57.0
Additional context
No response
The text was updated successfully, but these errors were encountered: