mirror of
https://github.com/containers/podman.git
synced 2025-05-22 01:27:07 +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 {
|
if err := rpt.Execute(event); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
os.Stdout.WriteString("\n")
|
|
||||||
default:
|
default:
|
||||||
fmt.Println(event.ToHumanReadable(!noTrunc))
|
fmt.Println(event.ToHumanReadable(!noTrunc))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user