prune: Format duplicate bytes properly

This commit is contained in:
Alexander Neumann 2016-08-15 21:13:38 +02:00
parent 7f9d227725
commit 238d3807e9
1 changed files with 2 additions and 2 deletions

View File

@ -126,8 +126,8 @@ func (cmd CmdPrune) Execute(args []string) error {
} }
} }
cmd.global.Verbosef("processed %d blobs: %d duplicate blobs, %d duplicate bytes\n", cmd.global.Verbosef("processed %d blobs: %d duplicate blobs, %v duplicate\n",
stats.blobs, duplicateBlobs, duplicateBytes) stats.blobs, duplicateBlobs, formatBytes(uint64(duplicateBytes)))
cmd.global.Verbosef("load all snapshots\n") cmd.global.Verbosef("load all snapshots\n")
// find referenced blobs // find referenced blobs