From 10a015f87105c28e5ba66a4d4122f594c1172e72 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 4 Jul 2024 01:34:08 +0200 Subject: [PATCH] cli/command/network: NewPruneCommand: explicitly ignore error Signed-off-by: Sebastiaan van Stijn --- cli/command/network/prune.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/command/network/prune.go b/cli/command/network/prune.go index 146f51559eda..36ff9e761db3 100644 --- a/cli/command/network/prune.go +++ b/cli/command/network/prune.go @@ -31,7 +31,7 @@ func NewPruneCommand(dockerCli command.Cli) *cobra.Command { return err } if output != "" { - fmt.Fprintln(dockerCli.Out(), output) + _, _ = fmt.Fprintln(dockerCli.Out(), output) } return nil },