Skip to content

Commit 79c9c7e

Browse files
committed
cli/command/system: ignore unhandled errors
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 5f13d0f commit 79c9c7e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cli/command/system/version.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ func runVersion(ctx context.Context, dockerCli command.Cli, opts *versionOptions
197197
func prettyPrintVersion(dockerCli command.Cli, vd versionInfo, tmpl *template.Template) error {
198198
t := tabwriter.NewWriter(dockerCli.Out(), 20, 1, 1, ' ', 0)
199199
err := tmpl.Execute(t, vd)
200-
t.Write([]byte("\n"))
201-
t.Flush()
200+
_, _ = t.Write([]byte("\n"))
201+
_ = t.Flush()
202202
return err
203203
}
204204

0 commit comments

Comments
 (0)