Skip to content
Permalink
Browse files
fix fe and broker default config bug (#14)
Co-authored-by: wudi <wud3@shuhaisc.com>
  • Loading branch information
JNSimba and wudi committed Mar 23, 2022
1 parent 4987e02 commit 4b0577df907eb0ec0b88690c81df273c4d8dad0c
Showing 1 changed file with 2 additions and 2 deletions.
@@ -301,7 +301,7 @@ private List<DeployConfigItem> getModuleDefaultConfig(String moduleName, String
} else if (moduleName.equals(ServerAndAgentConstant.FE_NAME)) {
for (String key : ConfigDefault.FE_CONFIG_DEDAULT.keySet()) {
DeployConfigItem configItem = new DeployConfigItem();
String value = ConfigDefault.BE_CONFIG_DEDAULT.get(key);
String value = ConfigDefault.FE_CONFIG_DEDAULT.get(key);
if (key.equals(ConfigDefault.FE_LOG_CONFIG_NAME) || key.equals(ConfigDefault.FE_META_CONFIG_NAME)) {
value = installInfo + "/" + ServerAndAgentConstant.FE_NAME + value;
}
@@ -313,7 +313,7 @@ private List<DeployConfigItem> getModuleDefaultConfig(String moduleName, String
} else {
for (String key : ConfigDefault.BROKER_CONFIG_DEDAULT.keySet()) {
DeployConfigItem configItem = new DeployConfigItem();
String value = ConfigDefault.BE_CONFIG_DEDAULT.get(key);
String value = ConfigDefault.BROKER_CONFIG_DEDAULT.get(key);
configItem.setKey(key);
configItem.setValue(value);

0 comments on commit 4b0577d

Please sign in to comment.