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

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(_ context.Context, _ *logs.LogOptions, _ chan *logs.LogLine) error {
	return errors.Wrapf(define.ErrOSNotSupported, "Journald logging only enabled with systemd on linux")
}