Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonip committed Feb 13, 2025
1 parent 50e8799 commit feaf07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/elasticsearchexporter/exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ func TestExporterMetrics(t *testing.T) {
actualDocsPerIndex := make(map[string]int)
for _, item := range rec.Items() {
idx := gjson.GetBytes(item.Action, "create._index")
actualDocsPerIndex[idx.String()] += 1
actualDocsPerIndex[idx.String()]++
}
assert.Equal(t, wantDocsPerIndex, actualDocsPerIndex)
}
Expand Down

0 comments on commit feaf07a

Please sign in to comment.