Change the log level to prevent false-positives (#911)

The `WARN` log level is being abused here which can flood the production logs (usually you are not interested in any lower log levels there). It is totally fine to not define a separate configMap for each profile that is active in the application therefore it shouldn't be a warning. The same applies to any other form of externalized configuration.
This commit is contained in:
Pawel Lewandowski
2021-11-12 14:37:34 +01:00
committed by GitHub
parent fd9be00329
commit 5e34da205b

View File

@@ -111,7 +111,7 @@ public final class Fabric8ConfigUtils {
: client.configMaps().inNamespace(namespace).withName(name).get();
if (configMap == null) {
LOG.warn("config-map with name : '" + name + "' not present in namespace : '" + namespace + "'");
LOG.info("config-map with name : '" + name + "' not present in namespace : '" + namespace + "'");
return Collections.emptyMap();
}