Skip to content

Commit

Permalink
Fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpionknifes committed Sep 19, 2024
1 parent 52d467a commit 3fe7bb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bridges/otellogr/logsink_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func TestNewConfig(t *testing.T) {
}

func TestNewLogSink(t *testing.T) {
const name = "test_logsink"
const name = "name"

for _, tt := range []struct {
name string
Expand Down Expand Up @@ -219,7 +219,7 @@ func TestLogSink(t *testing.T) {
} {
t.Run(tt.name, func(t *testing.T) {
rec := logtest.NewRecorder()
ls := NewLogSink("name", WithLoggerProvider(rec))
ls := NewLogSink(name, WithLoggerProvider(rec))
l := logr.New(ls)
tt.f(&l)

Expand Down

0 comments on commit 3fe7bb8

Please sign in to comment.