From b19d4f16a4dd797bbba948091f724cfdf6684503 Mon Sep 17 00:00:00 2001 From: Roberto Cortez Date: Fri, 4 Aug 2023 15:38:42 +0100 Subject: [PATCH] Removed dotted versions of environment variables from recording --- .../configuration/BuildTimeConfigurationReader.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/deployment/src/main/java/io/quarkus/deployment/configuration/BuildTimeConfigurationReader.java b/core/deployment/src/main/java/io/quarkus/deployment/configuration/BuildTimeConfigurationReader.java index b89cb87478bc6..645efa33e996e 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/configuration/BuildTimeConfigurationReader.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/configuration/BuildTimeConfigurationReader.java @@ -80,6 +80,7 @@ import io.smallrye.config.SmallRyeConfig; import io.smallrye.config.SmallRyeConfigBuilder; import io.smallrye.config.SysPropConfigSource; +import io.smallrye.config.common.utils.StringUtil; /** * A configuration reader. @@ -1017,6 +1018,9 @@ private Set getAllProperties(final Set registeredRoots) { properties.add(property); } else { properties.remove(property); + if (configSource instanceof EnvConfigSource) { + properties.remove(StringUtil.toLowerCaseAndDotted(property)); + } } } } else {