From a63a40c3eece95e96e5b52a00646998606c5f82c Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Mon, 12 Sep 2022 18:02:45 +0200 Subject: podman events --format: fix duplicated newline The --format changes caused a duplicated newline. PR #15678 should have a test for this. Signed-off-by: Paul Holzinger --- cmd/podman/system/events.go | 1 - 1 file changed, 1 deletion(-) (limited to 'cmd/podman/system/events.go') diff --git a/cmd/podman/system/events.go b/cmd/podman/system/events.go index 693af3e60..290f5b0fa 100644 --- a/cmd/podman/system/events.go +++ b/cmd/podman/system/events.go @@ -117,7 +117,6 @@ func eventsCmd(cmd *cobra.Command, _ []string) error { if err := rpt.Execute(event); err != nil { return err } - os.Stdout.WriteString("\n") default: fmt.Println(event.ToHumanReadable(!noTrunc)) } -- cgit v1.2.3-54-g00ecf