Skip to content

Commit

Permalink
Add nolint
Browse files Browse the repository at this point in the history
  • Loading branch information
jknipper committed Nov 20, 2024
1 parent 105ab40 commit fb2c022
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ func main() {

go func() {
glog.Info("Starting prometheus metrics")
http.Handle("/metrics", promhttp.Handler()) //permit
glog.Warning(http.ListenAndServe(metricsAddr, nil)) //permit
http.Handle("/metrics", promhttp.Handler()) //nolint:all

Check failure on line 68 in main.go

View workflow job for this annotation

GitHub Actions / Checks

directive `//nolint:all` should mention specific linter such as `//nolint:my-linter` (nolintlint)
glog.Warning(http.ListenAndServe(metricsAddr, nil)) //nolint:all

Check failure on line 69 in main.go

View workflow job for this annotation

GitHub Actions / Checks

directive `//nolint:all` should mention specific linter such as `//nolint:my-linter` (nolintlint)
}()

kmsgWatcher := kmsg.NewKmsgWatcher(types.WatcherConfig{Plugin: "kmsg"})
Expand Down

0 comments on commit fb2c022

Please sign in to comment.