Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
powersj committed Jul 10, 2023
1 parent ec7a451 commit 97de8a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/outputs/influxdb_v2/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,15 +214,15 @@ func TestTooLargeWriteRetry(t *testing.T) {
Host: ts.Listener.Addr().String(),
}

config := &influxdb.HTTPConfig{
cfg := &influxdb.HTTPConfig{
URL: addr,
Bucket: "telegraf",
BucketTag: "bucket",
ExcludeBucketTag: true,
Log: testutil.Logger{},
}

client, err := influxdb.NewHTTPClient(config)
client, err := influxdb.NewHTTPClient(cfg)
require.NoError(t, err)

// Together the metric batch size is too big, split up, we get success
Expand Down

0 comments on commit 97de8a9

Please sign in to comment.