aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-09-12 18:02:45 +0200
committerPaul Holzinger <pholzing@redhat.com>2022-09-12 18:05:18 +0200
commita63a40c3eece95e96e5b52a00646998606c5f82c (patch)
treeba8155c098b13193dcf3b956847fce51f604824e /cmd/podman
parent2ae4ce79996097fb0a403abbb9be9ef7b5c02d80 (diff)
downloadpodman-a63a40c3eece95e96e5b52a00646998606c5f82c.tar.gz
podman-a63a40c3eece95e96e5b52a00646998606c5f82c.tar.bz2
podman-a63a40c3eece95e96e5b52a00646998606c5f82c.zip
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 <pholzing@redhat.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/system/events.go1
1 files changed, 0 insertions, 1 deletions
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))
}