Skip to content

Commit 5a98d38

Browse files
committed
fix
1 parent 4781dad commit 5a98d38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

instrumentation/spring/spring-boot-autoconfigure/src/test/java/io/opentelemetry/instrumentation/spring/autoconfigure/internal/instrumentation/logging/SpanLoggingCustomizerProviderTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
package io.opentelemetry.instrumentation.spring.autoconfigure.internal.instrumentation.logging;
77

8-
import static io.opentelemetry.instrumentation.spring.autoconfigure.internal.instrumentation.logging.DeclarativeConfigLoggingExporterAutoConfiguration.SpanLoggingCustomizerProvider;
98
import static org.assertj.core.api.Assertions.assertThat;
109

1110
import io.opentelemetry.sdk.extension.incubator.fileconfig.DeclarativeConfiguration;
@@ -52,7 +51,7 @@ void addSpanLoggingExporter(String propertyValue, boolean alreadyAdded, boolean
5251
applyCustomizer(
5352
DeclarativeConfiguration.parse(
5453
new ByteArrayInputStream(yaml.getBytes(StandardCharsets.UTF_8))),
55-
new SpanLoggingCustomizerProvider());
54+
new DeclarativeConfigLoggingExporterAutoConfiguration.SpanLoggingCustomizerProvider());
5655

5756
String console = "ConsoleExporterModel";
5857
if (expected) {
@@ -63,7 +62,8 @@ void addSpanLoggingExporter(String propertyValue, boolean alreadyAdded, boolean
6362
}
6463

6564
private static OpenTelemetryConfigurationModel applyCustomizer(
66-
OpenTelemetryConfigurationModel model, SpanLoggingCustomizerProvider provider) {
65+
OpenTelemetryConfigurationModel model,
66+
DeclarativeConfigLoggingExporterAutoConfiguration.SpanLoggingCustomizerProvider provider) {
6767
List<Function<OpenTelemetryConfigurationModel, OpenTelemetryConfigurationModel>> customizers =
6868
new ArrayList<>();
6969
provider.customize(c -> customizers.add(c));

0 commit comments

Comments
 (0)