diff options
Diffstat (limited to 'libpod/events/journal_unsupported.go')
-rw-r--r-- | libpod/events/journal_unsupported.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libpod/events/journal_unsupported.go b/libpod/events/journal_unsupported.go new file mode 100644 index 000000000..004efdab2 --- /dev/null +++ b/libpod/events/journal_unsupported.go @@ -0,0 +1,11 @@ +// +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 +} |