mirror of
https://github.com/restic/restic.git
synced 2025-12-10 07:51:49 +00:00
fix duplicate bytes in prune output
This commit is contained in:
@@ -122,7 +122,7 @@ func pruneRepository(gopts GlobalOptions, repo restic.Repository) error {
|
|||||||
stats.bytes += pack.Size
|
stats.bytes += pack.Size
|
||||||
blobs += len(pack.Entries)
|
blobs += len(pack.Entries)
|
||||||
}
|
}
|
||||||
Verbosef("repository contains %v packs (%v blobs) with %v bytes\n",
|
Verbosef("repository contains %v packs (%v blobs) with %v\n",
|
||||||
len(idx.Packs), blobs, formatBytes(uint64(stats.bytes)))
|
len(idx.Packs), blobs, formatBytes(uint64(stats.bytes)))
|
||||||
|
|
||||||
blobCount := make(map[restic.BlobHandle]int)
|
blobCount := make(map[restic.BlobHandle]int)
|
||||||
|
|||||||
Reference in New Issue
Block a user