summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Rabson <dfr@rabson.org>2022-09-13 08:38:10 +0100
committerDoug Rabson <dfr@rabson.org>2022-09-13 08:38:13 +0100
commit70e6b19d4d806ae07ae99c75f7be19a7f427bd61 (patch)
tree31fbc2537e0c0b84132f9f7c348ef0faf2194e1b
parent4aeaeafde54eb223468ae3ea8425ab548e90e8e8 (diff)
downloadpodman-70e6b19d4d806ae07ae99c75f7be19a7f427bd61.tar.gz
podman-70e6b19d4d806ae07ae99c75f7be19a7f427bd61.tar.bz2
podman-70e6b19d4d806ae07ae99c75f7be19a7f427bd61.zip
events: Fix spelling of newNullEventer
This function changed from public to private which broke the FreeBSD build. Sadly, adding FreeBSD to the cross build isn't currently possible since github.com/godbus/dbus relies on cgo on FreeBSD. I've tried to fix this upstream but my PR is going nowhere - I think this dependency is only needed for systemd which isn't a thing on FreeBSD so it might be possible to work around the problem in libpod by making the systemd code conditional on linux. [NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson <dfr@rabson.org>
-rw-r--r--libpod/events/events_freebsd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/events/events_freebsd.go b/libpod/events/events_freebsd.go
index 17d410089..90933fa2c 100644
--- a/libpod/events/events_freebsd.go
+++ b/libpod/events/events_freebsd.go
@@ -14,7 +14,7 @@ func NewEventer(options EventerOptions) (Eventer, error) {
case strings.ToUpper(LogFile.String()):
return EventLogFile{options}, nil
case strings.ToUpper(Null.String()):
- return NewNullEventer(), nil
+ return newNullEventer(), nil
case strings.ToUpper(Memory.String()):
return NewMemoryEventer(), nil
default: