mirror of
https://github.com/containers/podman.git
synced 2025-05-21 17:16:22 +08:00
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>
This commit is contained in:
@ -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))
|
||||
}
|
||||
|
Reference in New Issue
Block a user