diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-05-13 20:40:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-13 20:40:19 +0200 |
commit | ec382e4c8df06558cac73df26aee8e3a3f2429df (patch) | |
tree | bad4e7c7b63747220135087a3237d23e28951a25 /libpod/events/journal_linux.go | |
parent | 25415e0b0edb0f120cedcc10b9aed7f15cd9e086 (diff) | |
parent | d1fc3fc702cce6efca4a20f972ef1931c8392548 (diff) | |
download | podman-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_linux.go')
-rw-r--r-- | libpod/events/journal_linux.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libpod/events/journal_linux.go b/libpod/events/journal_linux.go index 8ba5bc2c7..264c84f89 100644 --- a/libpod/events/journal_linux.go +++ b/libpod/events/journal_linux.go @@ -1,3 +1,5 @@ +// +build systemd + package events import ( @@ -15,6 +17,11 @@ type EventJournalD struct { options EventerOptions } +// newEventJournalD creates a new journald Eventer +func newEventJournalD(options EventerOptions) (Eventer, error) { + return EventJournalD{options}, nil +} + // Write to journald func (e EventJournalD) Write(ee Event) error { m := make(map[string]string) |