mirror of
https://gitee.com/nutz/nutzboot.git
synced 2024-12-02 03:38:08 +08:00
fix: ElasticsearchStarter有点小瑕疵,嗷嗷嗷
This commit is contained in:
parent
009698b086
commit
ef60a59406
@ -56,7 +56,7 @@ public class ElasticsearchStarter implements ServerFace {
|
|||||||
|
|
||||||
// 把所有elasticsearch开头的配置都放入Settings里面
|
// 把所有elasticsearch开头的配置都放入Settings里面
|
||||||
for (String key: conf.keys()) {
|
for (String key: conf.keys()) {
|
||||||
if (key.startsWith(PRE)) {
|
if (key.startsWith(PRE) && !key.equals(PROP_HOST) && !key.equals(PROP_PORT)) {
|
||||||
builder.put(key.substring(PRE.length()), conf.get(key));
|
builder.put(key.substring(PRE.length()), conf.get(key));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user