forked from TrueCloudLab/restic
Add missing colon in prune stats output and change padding to 14 chars to align the fields
This commit is contained in:
parent
9589de16db
commit
6ff32ee4d3
2 changed files with 19 additions and 19 deletions
|
@ -462,7 +462,7 @@ func prune(opts PruneOptions, gopts GlobalOptions, repo restic.Repository, usedB
|
||||||
Verboseff("unused size: %s of total size\n", formatPercent(unusedSize, totalSize))
|
Verboseff("unused size: %s of total size\n", formatPercent(unusedSize, totalSize))
|
||||||
|
|
||||||
Verbosef("\nto repack: %10d blobs / %s\n", stats.blobs.repack, formatBytes(stats.size.repack))
|
Verbosef("\nto repack: %10d blobs / %s\n", stats.blobs.repack, formatBytes(stats.size.repack))
|
||||||
Verbosef("this removes %10d blobs / %s\n", stats.blobs.repackrm, formatBytes(stats.size.repackrm))
|
Verbosef("this removes: %10d blobs / %s\n", stats.blobs.repackrm, formatBytes(stats.size.repackrm))
|
||||||
Verbosef("to delete: %10d blobs / %s\n", stats.blobs.remove, formatBytes(stats.size.remove+stats.size.unref))
|
Verbosef("to delete: %10d blobs / %s\n", stats.blobs.remove, formatBytes(stats.size.remove+stats.size.unref))
|
||||||
totalPruneSize := stats.size.remove + stats.size.repackrm + stats.size.unref
|
totalPruneSize := stats.size.remove + stats.size.repackrm + stats.size.unref
|
||||||
Verbosef("total prune: %10d blobs / %s\n", stats.blobs.remove+stats.blobs.repackrm, formatBytes(totalPruneSize))
|
Verbosef("total prune: %10d blobs / %s\n", stats.blobs.remove+stats.blobs.repackrm, formatBytes(totalPruneSize))
|
||||||
|
|
|
@ -91,7 +91,7 @@ command must be run:
|
||||||
[0:00] 100.00% 5 / 5 packs processed
|
[0:00] 100.00% 5 / 5 packs processed
|
||||||
|
|
||||||
to repack: 69 blobs / 1.078 MiB
|
to repack: 69 blobs / 1.078 MiB
|
||||||
this removes 67 blobs / 1.047 MiB
|
this removes: 67 blobs / 1.047 MiB
|
||||||
to delete: 7 blobs / 25.726 KiB
|
to delete: 7 blobs / 25.726 KiB
|
||||||
total prune: 74 blobs / 1.072 MiB
|
total prune: 74 blobs / 1.072 MiB
|
||||||
remaining: 16 blobs / 38.003 KiB
|
remaining: 16 blobs / 38.003 KiB
|
||||||
|
|
Loading…
Reference in a new issue