From cd6d902dff5414aeaa31c7e514d5da1e2625cd24 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 1 Feb 2025 23:14:51 +0100 Subject: [PATCH] cli/command/inspect: remove additional newline from log Signed-off-by: Sebastiaan van Stijn --- cli/command/inspect/inspector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/command/inspect/inspector.go b/cli/command/inspect/inspector.go index 46ba8750d6..b46f896df8 100644 --- a/cli/command/inspect/inspector.go +++ b/cli/command/inspect/inspector.go @@ -84,7 +84,7 @@ func Inspect(out io.Writer, references []string, tmplStr string, getRef GetRefFu } if err := inspector.Flush(); err != nil { - logrus.Errorf("%s\n", err) + logrus.Error(err) } if len(inspectErrs) != 0 {