spiegel_podman/libpod/container_log_unsupported.go
Brent Baude 2cc3be7332
RUN-4539: Change podman module paths
The podman module paths are moving from github.com/containers/podman to
go.podman.io/podman.  This will help with future mobility.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2026-04-22 14:02:25 -05:00

15 lines
411 B
Go

//go:build !remote && ((linux && !systemd) || freebsd)
package libpod
import (
"context"
"fmt"
"go.podman.io/podman/v6/libpod/define"
"go.podman.io/podman/v6/libpod/logs"
)
func (c *Container) readFromJournal(_ context.Context, _ *logs.LogOptions, _ chan *logs.LogLine, _ int64, _ string) error {
return fmt.Errorf("journald logging only enabled with systemd on linux: %w", define.ErrOSNotSupported)
}