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

@ -198,7 +198,7 @@ func (it *Iterator) DebugString(indent int) string {
var levelDBType graph.Type
func init() {
levelDBType = graph.Register("leveldb")
levelDBType = graph.RegisterIterator("leveldb")
}
func Type() graph.Type { return levelDBType }