Skip to content
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

Warning (to stderr) about a future (non-existent) argument being required #12697

Closed
joshlang opened this issue Mar 21, 2020 · 2 comments
Closed
Assignees
Labels
Core CLI core infrastructure
Milestone

Comments

@joshlang
Copy link

You guys have added this warning:

WARNING: The record set doesn't exist and is automatically created. In the future, an extra argument will be supported to confirm this auto creation.

Which appears when we run az network dns record-set txt add-record ... to add a new record.

This broke our pipeline because it's written to stderr.

It's no big deal - we just run it again and it's fine. And easily workaroundable with a redirect to /dev/null or /some-file.

But... there doesn't seem to be an argument at all to silence the warning, right now. Seems there should be. Guess it's coming "In the future", as the warning says :D

@yonzhan yonzhan added the Core CLI core infrastructure label Mar 22, 2020
@yonzhan yonzhan added this to the S168 milestone Mar 22, 2020
@yonzhan
Copy link
Collaborator

yonzhan commented Mar 22, 2020

add to S168

@jiasli
Copy link
Member

jiasli commented Apr 10, 2020

We have introduced --only-show-errors to prevent writing to stderr. Please see #12604 for details.

@jiasli jiasli closed this as completed Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core CLI core infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants