This commit is contained in:
Stam He 2022-01-15 20:03:47 +08:00
parent 8f1a32aa88
commit 416e167a8a
No known key found for this signature in database
GPG Key ID: 3861C8C44D25274F

View File

@ -174,7 +174,7 @@ func (utu *UploadTaskUnit) upload() (result *taskframework.TaskUnitRunResult) {
} }
if utu.ShowProgress { if utu.ShowProgress {
fmt.Printf("\r[%s] ↑ %s/%s %s/s(%s/s) in %s ............\n", utu.taskInfo.Id(), fmt.Printf("\r[%s] ↑ %s/%s %s/s(%s/s) in %s ............", utu.taskInfo.Id(),
converter.ConvertFileSize(status.Uploaded(), 2), converter.ConvertFileSize(status.Uploaded(), 2),
converter.ConvertFileSize(status.TotalSize(), 2), converter.ConvertFileSize(status.TotalSize(), 2),
converter.ConvertFileSize(status.SpeedsPerSecond(), 2), converter.ConvertFileSize(status.SpeedsPerSecond(), 2),