This repository was archived by the owner on Jul 18, 2025. It is now read-only.
Commit b53ec2a
committed
Push prints error messages correctly
When using docker-app as a plugin, error messages did not appear in the
console.
This is due to the fact that we did never un-mute the docker CLI structure
when Pushing, and that the RunPlugin uses dockerCli.Err() to report
error messages to the user.
This fixes the issue by using the `defer muteDockerCli(cli)()` pattern
that is used everywhere else.
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>1 parent 8b1b2d0 commit b53ec2a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments