mirror of
https://github.com/containers/podman.git
synced 2025-12-05 12:52:12 +08:00
1. Completed the EventerType comment. 2. Changed EventerType to be represented as a string. 3. Since EventerType is designed to be entirely lowercase, changed the comparison to use lowercase instead of uppercase. 4. Renamed newEventJournalD to newJournalDEventer. 5. Removed redundant error-checking steps in events_linux.go. Signed-off-by: ksw2000 <13825170+ksw2000@users.noreply.github.com>
12 lines
307 B
Go
12 lines
307 B
Go
//go:build !systemd
|
|
|
|
package events
|
|
|
|
// DefaultEventerType is logfile when systemd is not present
|
|
const DefaultEventerType = LogFile
|
|
|
|
// newJournalDEventer always returns an error if libsystemd not found
|
|
func newJournalDEventer(options EventerOptions) (Eventer, error) {
|
|
return nil, ErrNoJournaldLogging
|
|
}
|