summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-06-15 14:54:48 +0200
committerPaul Holzinger <pholzing@redhat.com>2022-06-15 14:57:10 +0200
commit90a669594a7de7061e8546b4598930be8dea08ee (patch)
tree3212f43ec20d00062401f0bf47b3325b4b1a8a3b
parent20b3fbe6d6d085c24de9aa0637509ee69e30ee54 (diff)
downloadpodman-90a669594a7de7061e8546b4598930be8dea08ee.tar.gz
podman-90a669594a7de7061e8546b4598930be8dea08ee.tar.bz2
podman-90a669594a7de7061e8546b4598930be8dea08ee.zip
fix CI: golangci-lint is broken on main
The merge of both 528739cef3d2 and 1b62e4543845 at the same time created a lint error on main. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
-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 {