2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-26 06:46:34 +00:00

Bugfix: packSizeFromList should save size from List()

This commit is contained in:
Alexander Weiss 2020-12-05 20:57:06 +01:00
parent 058b102db0
commit 83c8a9b058

View File

@ -96,7 +96,7 @@ func rebuildIndex(opts RebuildIndexOptions, gopts GlobalOptions, repo *repositor
size, ok := packSizeFromIndex[id]
if !ok || size != packSize {
// Pack was not referenced in index or size does not match
packSizeFromList[id] = size
packSizeFromList[id] = packSize
removePacks.Insert(id)
}
totalPacks++