From cdd5639d564624a6fbca426421d47c840dac8556 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Wed, 17 Jul 2019 15:17:26 -0400 Subject: Expose Null eventer and allow its use in the Podman CLI We need this specifically for tests, but others may find it useful if they don't explicitly need events and don't want the performance implications of using them. Signed-off-by: Matthew Heon --- libpod/events/config.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpod/events/config.go') diff --git a/libpod/events/config.go b/libpod/events/config.go index b9f01f3a5..96172d47b 100644 --- a/libpod/events/config.go +++ b/libpod/events/config.go @@ -14,6 +14,8 @@ const ( LogFile EventerType = iota // Journald indicates journald should be used to log events Journald EventerType = iota + // Null is a no-op events logger. It does not read or write events. + Null EventerType = iota ) // Event describes the attributes of a libpod event -- cgit v1.2.3-54-g00ecf