mirror of
https://github.com/containers/podman.git
synced 2025-10-15 18:23:30 +08:00

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>
8 lines
164 B
Go
8 lines
164 B
Go
//go:build !systemd || !linux
|
|
|
|
package events
|
|
|
|
// DefaultEventerType is logfile when systemd is not present
|
|
// or not supported.
|
|
const DefaultEventerType = LogFile
|