diff options
Diffstat (limited to 'libpod/container_log_unsupported.go')
-rw-r--r-- | libpod/container_log_unsupported.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libpod/container_log_unsupported.go b/libpod/container_log_unsupported.go index 0ec5740e2..2c4492b10 100644 --- a/libpod/container_log_unsupported.go +++ b/libpod/container_log_unsupported.go @@ -3,9 +3,11 @@ package libpod import ( + "github.com/containers/libpod/libpod/define" + "github.com/containers/libpod/libpod/logs" "github.com/pkg/errors" ) -func (c *Container) readFromJournal(options *LogOptions, logChannel chan *LogLine) error { - return errors.Wrapf(ErrOSNotSupported, "Journald logging only enabled with systemd on linux") +func (c *Container) readFromJournal(options *logs.LogOptions, logChannel chan *logs.LogLine) error { + return errors.Wrapf(define.ErrOSNotSupported, "Journald logging only enabled with systemd on linux") } |