cli/command/system: ignore unhandled errors

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2025-03-08 19:29:12 +01:00
parent 5f13d0f2b5
commit 79c9c7e3e4
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C

View File

@ -197,8 +197,8 @@ func runVersion(ctx context.Context, dockerCli command.Cli, opts *versionOptions
func prettyPrintVersion(dockerCli command.Cli, vd versionInfo, tmpl *template.Template) error {
t := tabwriter.NewWriter(dockerCli.Out(), 20, 1, 1, ' ', 0)
err := tmpl.Execute(t, vd)
t.Write([]byte("\n"))
t.Flush()
_, _ = t.Write([]byte("\n"))
_ = t.Flush()
return err
}