Skip to content

coder state pull emits to stderr instead of stdout #1645

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

Closed
ammario opened this issue May 21, 2022 · 0 comments · Fixed by #3382
Closed

coder state pull emits to stderr instead of stdout #1645

ammario opened this issue May 21, 2022 · 0 comments · Fixed by #3382
Labels
api Area: HTTP API

Comments

@ammario
Copy link
Member

ammario commented May 21, 2022

This means you can't do coder state pull | less. Instead you have to do coder state pull 2>&1 | less, which is surprising.

@misskniss misskniss added the api Area: HTTP API label May 24, 2022
kylecarbs added a commit that referenced this issue Aug 4, 2022
kylecarbs added a commit that referenced this issue Aug 4, 2022
* fix: Move state pull output to stdout

Fixes #1645.

* Update cli/state.go

Co-authored-by: Abhineet Jain <AbhineetJain@users.noreply.github.com>

Co-authored-by: Abhineet Jain <AbhineetJain@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Area: HTTP API
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants