-
Notifications
You must be signed in to change notification settings - Fork 2k
Add support for docker push --quiet #2197
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
Conversation
Signed-off-by: Justyn Temme <justyntemme@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
ping @silvin-lubecki @kolyshkin PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Completion LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
yeet |
| defer responseBody.Close() | ||
| return jsonmessage.DisplayJSONMessagesToStream(responseBody, dockerCli.Out(), nil) | ||
| if !opts.quiet { | ||
| return jsonmessage.DisplayJSONMessagesToStream(responseBody, dockerCli.Out(), nil) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like actual push errors are produced here, so skipping this caused errors to not be printed, and docker push _always returning a zero-status exit code ("success") when using --quiet
See #2284
Coming in 20.03.0 - see docker/cli#2197

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

- Description for the changelog
+ Add support for docker push --quiet- A picture of a cute animal (not mandatory but encouraged)