From c43e8e77c05b720b19bd1e331fba349e0c15f029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Greffier?= Date: Tue, 5 Mar 2024 10:34:24 +0100 Subject: [PATCH] Fix Sonar issue on Spring Boot property --- .../kstreamplify/opentelemetry/OpenTelemetryConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kstreamplify-spring-boot/src/main/java/com/michelin/kstreamplify/opentelemetry/OpenTelemetryConfig.java b/kstreamplify-spring-boot/src/main/java/com/michelin/kstreamplify/opentelemetry/OpenTelemetryConfig.java index 4b5624dc..ea662040 100644 --- a/kstreamplify-spring-boot/src/main/java/com/michelin/kstreamplify/opentelemetry/OpenTelemetryConfig.java +++ b/kstreamplify-spring-boot/src/main/java/com/michelin/kstreamplify/opentelemetry/OpenTelemetryConfig.java @@ -29,7 +29,7 @@ public class OpenTelemetryConfig { /** * The OpenTelemetry resource attributes. */ - @Value("${otel.resource.attributes:}") + @Value("${otel.resource.attributes}") private String otelResourceAttributes; /**