summaryrefslogtreecommitdiff
path: root/libpod/container_log_unsupported.go
blob: 18882720a7a424c2b933ccf0e0e52a6eae7b4587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//+build !linux !systemd

package libpod

import (
	"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 {
	return errors.Wrapf(define.ErrOSNotSupported, "Journald logging only enabled with systemd on linux")
}