summaryrefslogtreecommitdiff
path: root/libpod/events/nullout.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-08-05 15:23:05 +0200
committerGitHub <noreply@github.com>2019-08-05 15:23:05 +0200
commit626dfdb6131a5f37c2f7cc93dbb98f33d495aca4 (patch)
tree1836f259849718606dd0a8af541038d840909dc9 /libpod/events/nullout.go
parente2f38cdaa41ddc711cce40e00dab9c8457d2e830 (diff)
parent63eef5a23415380bdc3975c90fc88305a0380a61 (diff)
downloadpodman-626dfdb6131a5f37c2f7cc93dbb98f33d495aca4.tar.gz
podman-626dfdb6131a5f37c2f7cc93dbb98f33d495aca4.tar.bz2
podman-626dfdb6131a5f37c2f7cc93dbb98f33d495aca4.zip
Merge pull request #3691 from baude/infoeventlogger
add eventlogger to info
Diffstat (limited to 'libpod/events/nullout.go')
-rw-r--r--libpod/events/nullout.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/libpod/events/nullout.go b/libpod/events/nullout.go
index b11afcf80..f3b36e609 100644
--- a/libpod/events/nullout.go
+++ b/libpod/events/nullout.go
@@ -17,6 +17,10 @@ func (e EventToNull) Read(options ReadOptions) error {
// NewNullEventer returns a new null eventer. You should only do this for
// the purposes on internal libpod testing.
func NewNullEventer() Eventer {
- e := EventToNull{}
- return e
+ return EventToNull{}
+}
+
+// String returns a string representation of the logger
+func (e EventToNull) String() string {
+ return "none"
}