提交 7b0a6803 作者: Jeromy

cleanup from CR

上级 d54c6eb4
......@@ -331,14 +331,10 @@ func (ds *dagService) GetDAG(ctx context.Context, root *Node) <-chan *Node {
nodes[i] = nd
}
if next == is[0] {
sig <- nd
next++
for ; next < len(nodes) && nodes[next] != nil; next++ {
sig <- nodes[next]
}
}
}
if next < len(nodes) {
// TODO: bubble errors back up.
log.Errorf("Did not receive correct number of nodes!")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论