Skip to content

Commit 62a9b7c

Browse files
committed
Remove redundant err from logrus that already uses WithError(err)
Signed-off-by: Jan Dubois <[email protected]>
1 parent 7ebd1a9 commit 62a9b7c

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)