Skip to content

Commit

Permalink
output: fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov committed Feb 2, 2024
1 parent a930dec commit 1b478bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions output/json/json.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Package json is implements an output to put metrics in a json file.
// Actually a multi line json file.
package json

import (
Expand Down
1 change: 1 addition & 0 deletions output/statsd/config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package statsd is implements an output to send metric samples to a statsd server.
package statsd

import (
Expand Down
2 changes: 1 addition & 1 deletion output/statsd/helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func baseTest(t *testing.T,
case <-end:
return
default:
n, _, err := listener.ReadFromUDP(buf[:])
n, _, err := listener.ReadFromUDP(buf[:]) //nolint:govet // it is on purpose
require.NoError(t, err)
ch <- string(buf[:n])
}
Expand Down

0 comments on commit 1b478bb

Please sign in to comment.