mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 12:12:08 +08:00
解决zkYml解析的bug
This commit is contained in:
@@ -64,7 +64,8 @@ public class ZookeeperYmlFlowParser extends YmlFlowParser{
|
||||
public void nodeChanged() throws Exception {
|
||||
String content = new String(cache.getCurrentData().getData());
|
||||
LOG.info("stating load flow config....");
|
||||
parse(content);
|
||||
JSONObject ruleObject = convertToJson(content);
|
||||
parse(ruleObject.toJSONString());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user