2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-07 11:30:49 +00:00

Merge pull request #3149 from aawsome/fix-rebuild-index

Bugfix for rebuild-index
This commit is contained in:
MichaelEischer 2020-12-05 22:18:22 +01:00 committed by GitHub
commit 3264eae9f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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++