summaryrefslogtreecommitdiff
path: root/libpod/container_log_unsupported.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-08-24 14:16:22 -0400
committerGitHub <noreply@github.com>2021-08-24 14:16:22 -0400
commit23f9565547ae2a6b0154e6913abf7f1232f0ece0 (patch)
tree4c82eb688848627c86dcfa1240753a0a271cc636 /libpod/container_log_unsupported.go
parent24ee67bb09ffd6cf970fd0041757cd98e065e848 (diff)
parent3007bd4a9939c0ed8160a319f70788c19e419435 (diff)
downloadpodman-23f9565547ae2a6b0154e6913abf7f1232f0ece0.tar.gz
podman-23f9565547ae2a6b0154e6913abf7f1232f0ece0.tar.bz2
podman-23f9565547ae2a6b0154e6913abf7f1232f0ece0.zip
Merge pull request #11263 from nalind/journal-read
libpod/Container.readFromJournal(): don't skip the first entry
Diffstat (limited to 'libpod/container_log_unsupported.go')
-rw-r--r--libpod/container_log_unsupported.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpod/container_log_unsupported.go b/libpod/container_log_unsupported.go
index d10082141..a551df942 100644
--- a/libpod/container_log_unsupported.go
+++ b/libpod/container_log_unsupported.go
@@ -13,3 +13,7 @@ import (
func (c *Container) readFromJournal(_ context.Context, _ *logs.LogOptions, _ chan *logs.LogLine) error {
return errors.Wrapf(define.ErrOSNotSupported, "Journald logging only enabled with systemd on linux")
}
+
+func (c *Container) initializeJournal(ctx context.Context) error {
+ return errors.Wrapf(define.ErrOSNotSupported, "Journald logging only enabled with systemd on linux")
+}