Skip to content

Commit

Permalink
Fix a reported lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
codebien committed Dec 19, 2023
1 parent 29cf8a6 commit 65139f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/influxdb/output_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func TestOutputFlushMetrics(t *testing.T) {
break
}
}
rw.WriteHeader(204)
rw.WriteHeader(http.StatusNoContent)
}, func(tb testing.TB, c *Output) {
samples := make(metrics.Samples, 10)
for i := 0; i < len(samples); i++ {
Expand Down

0 comments on commit 65139f7

Please sign in to comment.