index: also mark old index as final on decode

This commit is contained in:
Alexander Neumann
2015-11-08 22:21:29 +01:00
parent 2e6eee991d
commit 6c54d3fa82
3 changed files with 8 additions and 5 deletions

View File

@@ -533,6 +533,7 @@ func DecodeOldIndex(rd io.Reader) (idx *Index, err error) {
})
}
}
idx.final = true
debug.Log("Index.DecodeOldIndex", "done")
return idx, err