【更新】solon 版本升为 2.0.0
This commit is contained in:
parent
c3b4572ba2
commit
269cd91dfe
|
@ -27,12 +27,12 @@ public class XPluginImpl implements Plugin {
|
|||
Properties defProps = Utils.loadProperties("META-INF/liteflow-default.properties");
|
||||
if (defProps != null && defProps.size() > 0) {
|
||||
defProps.forEach((k, v) -> {
|
||||
context.getProps().putIfAbsent(k, v);
|
||||
context.cfg().putIfAbsent(k, v);
|
||||
});
|
||||
}
|
||||
|
||||
//是否启用
|
||||
boolean enable = context.getProps().getBool("liteflow.enable", false);
|
||||
boolean enable = context.cfg().getBool("liteflow.enable", false);
|
||||
|
||||
if (!enable) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue