Skip to content

Commit 3f8e13a

Browse files
committed
Fix lint warnings
1 parent 9e0f499 commit 3f8e13a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

filebeat/input/v2/input-cursor/input.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ func newInputACKHandler(log *logp.Logger) beat.EventListener {
229229
if n == 0 {
230230
return
231231
}
232+
//nolint:errcheck // We know it will always work
232233
private[last].(*updateOp).Execute(n)
233234
})
234235
}

x-pack/filebeat/tests/integration/managerV2_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,6 +1194,7 @@ func TestFoo(t *testing.T) {
11941194
require.NoError(t, server.Start())
11951195
t.Cleanup(server.Stop)
11961196

1197+
//nolint:forbidigo // I'll remove it later
11971198
fmt.Println(
11981199
"Connection string:\n",
11991200
"-E", fmt.Sprintf(`management.insecure_grpc_url_for_testing="localhost:%d"`, server.Port),

0 commit comments

Comments
 (0)