DBZ-3760 fix regexp identifying env vars
This commit is contained in:
parent
76cd5fe25d
commit
62fc087f30
@ -154,7 +154,7 @@ else if (beans.size() > 1) {
|
||||
private void configToProperties(Config config, Properties props, String oldPrefix, String newPrefix) {
|
||||
for (String name : config.getPropertyNames()) {
|
||||
String updatedPropertyName = null;
|
||||
if (SHELL_PROPERTY_NAME_PATTERN.asPredicate().test(name)) {
|
||||
if (SHELL_PROPERTY_NAME_PATTERN.matcher(name).matches()) {
|
||||
updatedPropertyName = name.replace("_", ".").toLowerCase();
|
||||
}
|
||||
if (updatedPropertyName != null && updatedPropertyName.startsWith(oldPrefix)) {
|
||||
|
Loading…
Reference in New Issue
Block a user