Missed a spot where panic: could still happen
This commit is contained in:
parent
0c3161083c
commit
1486da91ab
|
@ -220,7 +220,7 @@ func (g *Graph) walk(walker GraphWalker) error {
|
||||||
// Walk the graph.
|
// Walk the graph.
|
||||||
var walkFn dag.WalkFunc
|
var walkFn dag.WalkFunc
|
||||||
walkFn = func(v dag.Vertex) (rerr error) {
|
walkFn = func(v dag.Vertex) (rerr error) {
|
||||||
log.Printf("[DEBUG] vertex %s.%s: walking", path, dag.VertexName(v))
|
log.Printf("[DEBUG] vertex '%s.%s': walking", path, dag.VertexName(v))
|
||||||
|
|
||||||
walker.EnterVertex(v)
|
walker.EnterVertex(v)
|
||||||
defer func() { walker.ExitVertex(v, rerr) }()
|
defer func() { walker.ExitVertex(v, rerr) }()
|
||||||
|
|
Loading…
Reference in New Issue