mirror of
https://github.com/restic/restic.git
synced 2024-12-26 01:37:12 +00:00
Merge pull request #1262 from mafgh/bytes
fix duplicate bytes in prune output
This commit is contained in:
commit
a4577769ae
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue