diff options
author | Hironori Shiina <shiina.hironori@jp.fujitsu.com> | 2021-10-22 21:04:48 -0400 |
---|---|---|
committer | Hironori Shiina <shiina.hironori@jp.fujitsu.com> | 2021-10-26 12:18:57 -0400 |
commit | c723e6b978090df43afb2462f647a4c2fde03c28 (patch) | |
tree | cd3152440702a4d1c05fe00deab1d08f838e8f00 /libpod/util_linux_test.go | |
parent | 9e453e242e39da44badbbef985fa03b16dfd87e9 (diff) | |
download | podman-c723e6b978090df43afb2462f647a4c2fde03c28.tar.gz podman-c723e6b978090df43afb2462f647a4c2fde03c28.tar.bz2 podman-c723e6b978090df43afb2462f647a4c2fde03c28.zip |
Fix a few problems in 'podman logs --tail' with journald driver
The following problems regarding `logs --tail` with the journald log
driver are fixed:
- One more line than a specified value is displayed.
- '--tail 0' displays all lines while the other log drivers displays
nothing.
- Partial lines are not considered.
- If the journald events backend is used and a container has exited,
nothing is displayed.
Integration tests that should have detected the bugs are also fixed. The
tests are executed with json-file log driver three times without this
fix.
Signed-off-by: Hironori Shiina <shiina.hironori@jp.fujitsu.com>
Diffstat (limited to 'libpod/util_linux_test.go')
0 files changed, 0 insertions, 0 deletions