podman/libpod/events/journal_unsupported.go
Valentin Rothberg ea08765f40 go fmt: use go 1.18 conditional-build syntax
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-03-18 09:11:53 +01:00

13 lines
322 B
Go

//go:build !systemd
// +build !systemd
package events
// DefaultEventerType is logfile when systemd is not present
const DefaultEventerType = LogFile
// newEventJournalD always returns an error if libsystemd not found
func newEventJournalD(options EventerOptions) (Eventer, error) {
return nil, ErrNoJournaldLogging
}