azure-cli-extensions
azure-cli-extensions copied to clipboard
[Compute] Fix #5258: `az image copy`: Fix `expected not NoneType` error
This checklist is used to make sure that common guidelines for a pull request are followed.
Description
The logic of az image copy command is consisted by several Azure CLI commands. The az image show command is called first, and then the fields in the output will be used to call other commands later.
This error mainly due to the hyperVGeneration field of az image show command output is null value and then passed to call other commands.
Issue - close: #5258
Related command
az image copy
General Guidelines
- [ ] Have you run
azdev style <YOUR_EXT>locally? (pip install azdevrequired) - [ ] Have you run
python scripts/ci/test_index.py -qlocally?
For new extensions:
- [ ] My extension description/summary conforms to the Extension Summary Guidelines.
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.
Compute
[Release] Update index.json for extension [ image-copy ] : https://dev.azure.com/azclitools/internal/_build/results?buildId=18035&view=results