mirror of https://github.com/containers/podman.git
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:
parent
2ae4ce7999
commit
a63a40c3ee
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue