Skip to content

Commit

Permalink
Update internal/pipe/docker/api.go
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
gal-legit and caarlos0 committed Nov 12, 2022
1 parent 0886ff1 commit 3a07fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pipe/docker/api.go
Expand Up @@ -86,7 +86,7 @@ func runCommandWithOutput(ctx *context.Context, dir, binary string, args ...stri
out, err := cmd.Output()
if out != nil {
// regardless of command success, always print stdout for backward-compatibility with runCommand()
io.MultiWriter(logext.NewWriter(fields, logext.Error), w).Write(out)
_, _ = io.MultiWriter(logext.NewWriter(fields, logext.Error), w).Write(out)
}
if err != nil {
return nil, fmt.Errorf("%w: %s", err, b.String())
Expand Down

0 comments on commit 3a07fd2

Please sign in to comment.