mirror of
https://github.com/restic/restic.git
synced 2025-08-22 22:07:30 +00:00
Bugfix: packSizeFromList should save size from List()
This commit is contained in:
@@ -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++
|
||||
|
Reference in New Issue
Block a user