-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
When trying to update an app service setting that contains 6in, it fails with the error <unknown>:1: SyntaxWarning: invalid decimal literal.
It doesn't matter if I escape the value with double quotes or not.
Also no matter where 6in occurs, it will always throw that error.
The value is properly saved though, but the error is interpreted as an error and fails the pipeline because of it.
Related command
az webapp config appsettings set --name {name} --resource-group {resourceGroup} --settings TestKey=6in
Errors
<unknown>:1: SyntaxWarning: invalid decimal literal
Issue script & Debug output
az webapp config appsettings set --name {name} --resource-group {resourceGroup} --settings TestKey=6in
Expected behavior
The value is saved and no error message is thrown.
Environment Summary
azure-cli: 2.77.0
core: 2.77.0
telemetry: 1.1.0
dependencies:
- msal: 1.34.0b1
- azure.mgmt-resource: 23.3.0
Also observed this on 2.67.0. and 2.73.0
Additional context
No response