Skip to content

Commit

Permalink
Update otelcol/collector_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Evan Bradley <[email protected]>
  • Loading branch information
TylerHelmuth and evan-bradley authored Apr 26, 2024
1 parent 8f25cb3 commit 8e9bce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otelcol/collector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ func TestCollectorConfmapLogs(t *testing.T) {
require.NotNil(t, col.ol)
require.Greater(t, col.ol.Len(), 0)

messages := make([]string, 0)
messages := make([]string, 0, col.ol.Len())
for _, l := range col.ol.All() {
messages = append(messages, l.Message)
}
Expand Down

0 comments on commit 8e9bce4

Please sign in to comment.