mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-30 08:57:09 +00:00
MINOR - Fix collate app yaml reader with unwanted dropwizard java props (#19908)
This commit is contained in:
parent
3366385e15
commit
c207c8d4f3
@ -21,7 +21,7 @@ public class ConfigurationReader {
|
||||
private final StringSubstitutor substitutor;
|
||||
private final ObjectMapper mapper = new ObjectMapper(new YAMLFactory());
|
||||
private final YamlConfigurationFactory<Object> factory =
|
||||
new YamlConfigurationFactory<>(Object.class, null, mapper, "dw");
|
||||
new YamlConfigurationFactory<>(Object.class, null, mapper, "app");
|
||||
|
||||
public ConfigurationReader(Map<String, String> envMap) {
|
||||
// envMap is for custom environment variables (e.g., for testing), defaulting to the system
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user