Skip to content

Commit

Permalink
[-] fix errcheck warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub committed Nov 14, 2024
1 parent 27e4008 commit d2abcbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func main() {
log.Fatal(err)
}
log = conf.Logger.Sugar()
defer conf.Logger.Sync()
defer func() { _ = conf.Logger.Sync() }()

lc, err := checker.NewLeaderChecker(conf)
if err != nil {
Expand Down

0 comments on commit d2abcbd

Please sign in to comment.