summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-06-15 09:52:38 -0600
committerGitHub <noreply@github.com>2022-06-15 09:52:38 -0600
commit08f35dab5a1dc961992430373415492cf7c1963a (patch)
tree3212f43ec20d00062401f0bf47b3325b4b1a8a3b /libpod
parentcab97798bfe8fecd597693255f5a054bd5b7d459 (diff)
parent90a669594a7de7061e8546b4598930be8dea08ee (diff)
downloadpodman-08f35dab5a1dc961992430373415492cf7c1963a.tar.gz
podman-08f35dab5a1dc961992430373415492cf7c1963a.tar.bz2
podman-08f35dab5a1dc961992430373415492cf7c1963a.zip
Merge pull request #14598 from Luap99/service-systemd-fd
systemd socket activation: check listener to prevent panic
Diffstat (limited to 'libpod')
-rw-r--r--libpod/events/journal_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/events/journal_linux.go b/libpod/events/journal_linux.go
index 4db87c14d..d21b60c68 100644
--- a/libpod/events/journal_linux.go
+++ b/libpod/events/journal_linux.go
@@ -169,7 +169,7 @@ func (e EventJournalD) Read(ctx context.Context, options ReadOptions) error {
return nil
}
-func newEventFromJournalEntry(entry *sdjournal.JournalEntry) (*Event, error) { //nolint
+func newEventFromJournalEntry(entry *sdjournal.JournalEntry) (*Event, error) {
newEvent := Event{}
eventType, err := StringToType(entry.Fields["PODMAN_TYPE"])
if err != nil {