summaryrefslogtreecommitdiff
path: root/libpod/events/journal_unsupported.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-05-13 20:40:19 +0200
committerGitHub <noreply@github.com>2019-05-13 20:40:19 +0200
commitec382e4c8df06558cac73df26aee8e3a3f2429df (patch)
treebad4e7c7b63747220135087a3237d23e28951a25 /libpod/events/journal_unsupported.go
parent25415e0b0edb0f120cedcc10b9aed7f15cd9e086 (diff)
parentd1fc3fc702cce6efca4a20f972ef1931c8392548 (diff)
downloadpodman-ec382e4c8df06558cac73df26aee8e3a3f2429df.tar.gz
podman-ec382e4c8df06558cac73df26aee8e3a3f2429df.tar.bz2
podman-ec382e4c8df06558cac73df26aee8e3a3f2429df.zip
Merge pull request #3083 from openSUSE/systemd-optional
Add `systemd` build tag
Diffstat (limited to 'libpod/events/journal_unsupported.go')
-rw-r--r--libpod/events/journal_unsupported.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/libpod/events/journal_unsupported.go b/libpod/events/journal_unsupported.go
new file mode 100644
index 000000000..c91d81f12
--- /dev/null
+++ b/libpod/events/journal_unsupported.go
@@ -0,0 +1,8 @@
+// +build !systemd
+
+package events
+
+// newEventJournalD always returns an error if libsystemd not found
+func newEventJournalD(options EventerOptions) (Eventer, error) {
+ return nil, ErrNoJournaldLogging
+}