提交 6fd56d67 authored 作者: blu's avatar blu

refactor of delta config

上级 ca4bf3a1
...@@ -300,7 +300,7 @@ json getModulesOperFromConfDiff(json& oldConfig, json &newConfig, json &diff, st ...@@ -300,7 +300,7 @@ json getModulesOperFromConfDiff(json& oldConfig, json &newConfig, json &diff, st
spdlog::info("matching {}, size:{}, type:{}", diff.dump(), diff.size(), diff.type_name()); spdlog::info("matching {}, size:{}, type:{}", diff.dump(), diff.size(), diff.type_name());
try{ try{
for(auto &d: diff) { for(auto &d: diff) {
spdlog::info("d :{}, {}", d.dump(), d.size()); spdlog::info("getModulesOperFromConfDiff path: {}", d.dump());
if(d.count("path") != 0) { if(d.count("path") != 0) {
string path_ = d["path"]; string path_ = d["path"];
bool matched = false; bool matched = false;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论