summaryrefslogtreecommitdiff
path: root/libpod/container_log.go
diff options
context:
space:
mode:
authorAshley Cui <acui@redhat.com>2021-02-22 15:13:46 -0500
committerAshley Cui <acui@redhat.com>2021-03-02 14:28:16 -0500
commitb19791c0b60b4f113d80e17a9ca9c7c2074be465 (patch)
treed03dd9f18392766d5d68efdd94ef2a1ecca4b725 /libpod/container_log.go
parent426178a49991106ffe222f12cc42409ae78dd257 (diff)
downloadpodman-b19791c0b60b4f113d80e17a9ca9c7c2074be465.tar.gz
podman-b19791c0b60b4f113d80e17a9ca9c7c2074be465.tar.bz2
podman-b19791c0b60b4f113d80e17a9ca9c7c2074be465.zip
Tidy duplicate log tests
Some log tests were duplicated, and some didn't need to be repeated for every driver. Also, added some comments Signed-off-by: Ashley Cui <acui@redhat.com>
Diffstat (limited to 'libpod/container_log.go')
-rw-r--r--libpod/container_log.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/libpod/container_log.go b/libpod/container_log.go
index a3b700004..c207df819 100644
--- a/libpod/container_log.go
+++ b/libpod/container_log.go
@@ -29,7 +29,6 @@ func (c *Container) ReadLog(ctx context.Context, options *logs.LogOptions, logCh
case define.NoLogging:
return errors.Wrapf(define.ErrNoLogs, "this container is using the 'none' log driver, cannot read logs")
case define.JournaldLogging:
- // TODO Skip sending logs until journald logs can be read
return c.readFromJournal(ctx, options, logChannel)
case define.JSONLogging:
// TODO provide a separate implementation of this when Conmon