File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -419,14 +419,14 @@ func Backup(pctx context.Context, jobInfo *files.JobInfo) error {
419
419
} else {
420
420
fmt .Fprintf (
421
421
config .Stdout ,
422
- "Done.\n \t Total ZFS Stream Bytes: %d (%s)\n \t Total Bytes Written: %d (%s)\n \t Elapsed Time: %v\n \t Total Files Uploaded: %d\n \t Average Upload Rate: %s/TB \n " ,
422
+ "Done.\n \t Total ZFS Stream Bytes: %d (%s)\n \t Total Bytes Written: %d (%s)\n \t Elapsed Time: %v\n \t Total Files Uploaded: %d\n \t Average Upload Rate: %s\n " ,
423
423
jobInfo .ZFSStreamBytes ,
424
424
humanize .IBytes (jobInfo .ZFSStreamBytes ),
425
425
totalWrittenBytes ,
426
426
humanize .IBytes (totalWrittenBytes ),
427
427
time .Since (jobInfo .StartTime ),
428
428
len (jobInfo .Volumes )+ 1 ,
429
- humanize . IBytes ( uint64 ( float64 (totalWrittenBytes )/ time .Since (jobInfo .StartTime ).Hours () / 1024 )),
429
+ fmt . Sprintf ( "%.2f TB/hr" , float64 (totalWrittenBytes )/ 1e12 / time .Since (jobInfo .StartTime ).Hours ()),
430
430
)
431
431
}
432
432
You can’t perform that action at this time.
0 commit comments