Fix Err fallout for graph/iterator.Fixed iterator
This commit is contained in:
parent
c0133018a5
commit
ebb45d4c14
1 changed files with 5 additions and 0 deletions
|
|
@ -143,6 +143,11 @@ func (it *Fixed) Next() bool {
|
||||||
return graph.NextLogOut(it, out, true)
|
return graph.NextLogOut(it, out, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (it *Fixed) Err() error {
|
||||||
|
// This iterator should never error.
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
// DEPRECATED
|
// DEPRECATED
|
||||||
func (it *Fixed) ResultTree() *graph.ResultTree {
|
func (it *Fixed) ResultTree() *graph.ResultTree {
|
||||||
return graph.NewResultTree(it.Result())
|
return graph.NewResultTree(it.Result())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue