mirror of
https://github.com/containers/podman.git
synced 2025-10-20 04:34:01 +08:00
libpod/events: refactor to eliminate unused code
Shuffle the code around to eliminate "unused" warnings when linting with various GOOS and build tags. The only change in functionality should be that now NewEventer returns ErrNoJournaldLogging (rather than "unknown event logger type") on freebsd when journald is requested. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@ -17,9 +17,6 @@ import (
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
// DefaultEventerType is journald when systemd is available
|
||||
const DefaultEventerType = Journald
|
||||
|
||||
// EventJournalD is the journald implementation of an eventer
|
||||
type EventJournalD struct {
|
||||
options EventerOptions
|
||||
|
Reference in New Issue
Block a user