提交 d70e60d4 编写于 作者: 7 710leo

fix exclude leaf nid when sync stra

上级 7abec2cc
......@@ -269,6 +269,12 @@ func GetExclLeafIds(exclNid []int64) (leafIds []int64, err error) {
if err != nil {
return leafIds, err
}
if node == nil {
logger.Warningf("no such node[%d]", nid)
continue
}
ids, err := node.LeafIds()
if err != nil {
return leafIds, err
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册