Commit 0d41232
authored
Fix containerapp update using yml file
I think the upgrade to the new API version (Azure#31276) lead to `runningStatus` appearing as a field at the top level when the YAML file passed to `az containerapp update` is run through the deserialiser.
It then caused an error before the command was run:
```
(InvalidRequestContent) The request content was invalid and could not be deserialized: 'Could not find member 'runningStatus' on object of type 'ResourceDefinition'. Path 'runningStatus', line 1, position 224.'.
```
The fix is to add it to the existing list of readonly attributes to remove.1 parent 106221b commit 0d41232
File tree
1 file changed
+2
-1
lines changed- src/azure-cli/azure/cli/command_modules/containerapp
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
949 | 949 | | |
950 | 950 | | |
951 | 951 | | |
952 | | - | |
| 952 | + | |
| 953 | + | |
953 | 954 | | |
954 | 955 | | |
955 | 956 | | |
| |||
0 commit comments