解决zkYml解析的bug
This commit is contained in:
parent
7bc9c7d1bb
commit
469ff01ace
|
|
@ -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());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue