Skip to content

Commit

Permalink
[chore] Fix linter issues (open-telemetry#34937)
Browse files Browse the repository at this point in the history
**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->

open-telemetry#34609 and open-telemetry#34921 conflicted. This fixes CI
  • Loading branch information
mx-psi authored and f7o committed Sep 12, 2024
1 parent c293600 commit cd766d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions processor/redactionprocessor/factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestCreateTestLogsProcessor(t *testing.T) {
tp, err := createLogsProcessor(context.Background(), processortest.NewNopSettings(), cfg, consumertest.NewNop())
assert.NoError(t, err)
assert.NotNil(t, tp)
assert.Equal(t, true, tp.Capabilities().MutatesData)
assert.True(t, tp.Capabilities().MutatesData)
}

func TestCreateTestMetricsProcessor(t *testing.T) {
Expand All @@ -42,5 +42,5 @@ func TestCreateTestMetricsProcessor(t *testing.T) {
tp, err := createMetricsProcessor(context.Background(), processortest.NewNopSettings(), cfg, consumertest.NewNop())
assert.NoError(t, err)
assert.NotNil(t, tp)
assert.Equal(t, true, tp.Capabilities().MutatesData)
assert.True(t, tp.Capabilities().MutatesData)
}

0 comments on commit cd766d3

Please sign in to comment.