-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent return value for "exists" commands #21822
Comments
storage |
Hi @tbirk-bhs, thanks for reaching out. It's really good suggestion to keep all return format consistent. CLI consists of several modules, for example, If any of the current return format is changed, it will be breaking change and customers using CLI in scripts or pipelines will be break. So we should be very cautious for any breaking change. Thanks for your suggestion and we will take into consideration! |
Hi @evelyn-ys, thank you for your quick reply. Changing this default behavior will create a breaking change, yes.
a valid json object? Currently only true/false is returned. |
@zhoxing-ms What do you think as |
In fact, the
Personally, I think it's a great suggestion to keep the output format consistent, but as the reasons mentioned by @evelyn-ys, it's really difficult to keep the return format of all the |
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az storage container exists
Errors:
The command return json with
When I use "az group exists" I only get
as result.
Also this command should return just true/false and not json. (Or the the "az group exists" command should return also json)
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az storage container exists -n {} --account-name {}
Expected Behavior
true/false instead of json object
Environment Summary
Additional Context
The text was updated successfully, but these errors were encountered: