summaryrefslogtreecommitdiff
path: root/libpod/container_log_unsupported.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-07-09 17:05:47 +0200
committerGitHub <noreply@github.com>2020-07-09 17:05:47 +0200
commitbc3b3b373fab58929f4583ab0b5eb529e64a54fc (patch)
treed6a64a013d2957d676a1e74e3374350dfc2fbef0 /libpod/container_log_unsupported.go
parentf86782c05293987acc750b259fa5a7fa0106b5b6 (diff)
parentd0ebea06437f05dfd42ec50e1eef2da0310b65d9 (diff)
downloadpodman-bc3b3b373fab58929f4583ab0b5eb529e64a54fc.tar.gz
podman-bc3b3b373fab58929f4583ab0b5eb529e64a54fc.tar.bz2
podman-bc3b3b373fab58929f4583ab0b5eb529e64a54fc.zip
Merge pull request #6916 from vrothberg/logs-fixes
log API: add context to allow for cancelling
Diffstat (limited to 'libpod/container_log_unsupported.go')
-rw-r--r--libpod/container_log_unsupported.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpod/container_log_unsupported.go b/libpod/container_log_unsupported.go
index 18882720a..f3b36619e 100644
--- a/libpod/container_log_unsupported.go
+++ b/libpod/container_log_unsupported.go
@@ -3,11 +3,13 @@
package libpod
import (
+ "context"
+
"github.com/containers/libpod/v2/libpod/define"
"github.com/containers/libpod/v2/libpod/logs"
"github.com/pkg/errors"
)
-func (c *Container) readFromJournal(options *logs.LogOptions, logChannel chan *logs.LogLine) error {
+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")
}