Skip to content

Commit 643ddd8

Browse files
authored
Merge pull request #2247 from rancher-sandbox/inotify-witherror
Remove redundant err from logrus that already uses WithError(err)
2 parents 7ebd1a9 + 62a9b7c commit 643ddd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/hostagent/hostagent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ func (a *HostAgent) watchGuestAgentEvents(ctx context.Context) {
598598
}
599599
err := a.startInotify(ctx)
600600
if err != nil {
601-
logrus.WithError(err).Warn("failed to start inotify", err)
601+
logrus.WithError(err).Warn("failed to start inotify")
602602
}
603603
}
604604
}()

0 commit comments

Comments
 (0)