Skip to content

Commit

Permalink
podman events --format: fix duplicated newline
Browse files Browse the repository at this point in the history
The --format changes caused a duplicated newline.
PR #15678 should have a test for this.

Signed-off-by: Paul Holzinger <[email protected]>
  • Loading branch information
Luap99 committed Sep 12, 2022
1 parent 2ae4ce7 commit a63a40c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/podman/system/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit a63a40c

Please sign in to comment.