Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 803e955

Browse files
authored
Merge pull request #476 from simonferquel/push-error-cases
Push prints error messages correctly
2 parents 3d4ec85 + b53ec2a commit 803e955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/commands/push.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func pushCmd(dockerCli command.Cli) *cobra.Command {
4848
}
4949

5050
func runPush(dockerCli command.Cli, name string, opts pushOptions) error {
51-
muteDockerCli(dockerCli)
51+
defer muteDockerCli(dockerCli)()
5252
app, err := packager.Extract(name)
5353
if err != nil {
5454
return err

0 commit comments

Comments
 (0)