Describe the bug
The output of "az group show --name" when the group does not exist changed after updating from version 2.0.41 to 2.0.42.
This breaks all shell scripts depending on this output.
To Reproduce
With version 2.0.41 and earlier:
az group show --name test
Prints nothing, exit status is 0 when 'test' does not exist.
With version 2.0.42 prints 'Resource group 'test' could not be found.' and exit status is 3.
Expected behavior
I expect to have same behavior as before updating - no output and exit status 0.
Environment summary
CLI 2.0.42
Ubuntu 16.04 LTS
Additional context
Similar problem was noticed also for "az disk show" in earlier update.
Describe the bug
The output of "az group show --name" when the group does not exist changed after updating from version 2.0.41 to 2.0.42.
This breaks all shell scripts depending on this output.
To Reproduce
With version 2.0.41 and earlier:
az group show --name test
Prints nothing, exit status is 0 when 'test' does not exist.
With version 2.0.42 prints 'Resource group 'test' could not be found.' and exit status is 3.
Expected behavior
I expect to have same behavior as before updating - no output and exit status 0.
Environment summary
CLI 2.0.42
Ubuntu 16.04 LTS
Additional context
Similar problem was noticed also for "az disk show" in earlier update.