From 2bfbb28a9a2570cc5644b7ec1343d4525938a589 Mon Sep 17 00:00:00 2001 From: Flc Date: Mon, 13 Jan 2025 22:48:51 +0800 Subject: [PATCH] fix(bridges/otellogr): add context to TestLogSinkCtxInInfo for issue #6509 --- bridges/otellogr/logsink_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/bridges/otellogr/logsink_test.go b/bridges/otellogr/logsink_test.go index 2f7f13b50e4..6ba0603d413 100644 --- a/bridges/otellogr/logsink_test.go +++ b/bridges/otellogr/logsink_test.go @@ -352,6 +352,7 @@ func TestLogSink(t *testing.T) { } } +// fix https://github.com/open-telemetry/opentelemetry-go-contrib/issues/6509 func TestLogSinkCtxInInfo(t *testing.T) { rec := logtest.NewRecorder() ls := NewLogSink("name", WithLoggerProvider(rec))