azure-cli
azure-cli copied to clipboard
[ARM] `az deployment group what-if`: Fix an issue where `complete` deployment mode does not work
Related command
az deployment group what-if
Description
The mode parameter was hard coded to increment, but it should take the value provided by users via --mode. The PR fixes the behavior.
Testing Guide
az deployment group what-if ... --mode complete
History Notes
This checklist is used to make sure that common guidelines for a pull request are followed.
-
[ ] The PR title and description has followed the guideline in Submitting Pull Requests.
-
[ ] I adhere to the Command Guidelines.
-
[ ] I adhere to the Error Handling Guidelines.
ARM