Skip to content

Commit

Permalink
Merge pull request #2247 from rancher-sandbox/inotify-witherror
Browse files Browse the repository at this point in the history
Remove redundant err from logrus that already uses WithError(err)
  • Loading branch information
AkihiroSuda committed Mar 13, 2024
2 parents 7ebd1a9 + 62a9b7c commit 643ddd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/hostagent/hostagent.go
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ func (a *HostAgent) watchGuestAgentEvents(ctx context.Context) {
}
err := a.startInotify(ctx)
if err != nil {
logrus.WithError(err).Warn("failed to start inotify", err)
logrus.WithError(err).Warn("failed to start inotify")
}
}
}()
Expand Down

0 comments on commit 643ddd8

Please sign in to comment.