Register should be RegisterIterator

This commit is contained in:
Jeremy Jay 2014-07-16 13:49:39 -04:00
parent 995b38fb5b
commit e780c1ceb9
4 changed files with 5 additions and 5 deletions

View file

@ -160,7 +160,7 @@ func (it *Iterator) Size() (int64, bool) {
var mongoType graph.Type
func init() {
mongoType = graph.Register("mongo")
mongoType = graph.RegisterIterator("mongo")
}
func Type() graph.Type { return mongoType }