docker / docker/docker-credential-helpers
Error messages are printed to STDOUT instead of STDERR
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1.3k
- Forks
- 195
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 5
Description
The credentials helper command line tools print their error messages to STDOUT instead of STDERR.
Suggested fix: replace line 62 of credentials.go
fmt.Fprintf(os.Stdout, "%v\n", err)
with
fmt.Fprintf(os.Stderr, "%v\n", err)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at line 62 of credentials/credentials.go, where the credentials helper command-line tools write errors. Confirm the error output is sent to STDERR rather than STDOUT, and verify the command-line behavior afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100