From c0133018a5ed737c6de2277f2af9d97a801aa8e7 Mon Sep 17 00:00:00 2001 From: Andrew Dunham Date: Tue, 14 Apr 2015 16:34:03 -0700 Subject: [PATCH] Fix Err fallout for graph/iterator.Int64 iterator --- graph/iterator/all_iterator.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/graph/iterator/all_iterator.go b/graph/iterator/all_iterator.go index 31d4b8e..0fc2694 100644 --- a/graph/iterator/all_iterator.go +++ b/graph/iterator/all_iterator.go @@ -103,6 +103,11 @@ func (it *Int64) Next() bool { return graph.NextLogOut(it, val, true) } +func (it *Int64) Err() error { + // This iterator should never error. + return nil +} + // DEPRECATED func (it *Int64) ResultTree() *graph.ResultTree { return graph.NewResultTree(it.Result())