projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7e90eb
)
7167: update the progress message to say "est. time remaining" instead of "ETA" which...
author
radhika <radhika@curoverse.com>
Thu, 15 Oct 2015 16:18:20 +0000
(12:18 -0400)
committer
radhika <radhika@curoverse.com>
Thu, 15 Oct 2015 16:18:20 +0000
(12:18 -0400)
tools/keep-rsync/keep-rsync.go
patch
|
blob
|
history
diff --git
a/tools/keep-rsync/keep-rsync.go
b/tools/keep-rsync/keep-rsync.go
index c39f0675c6cc52e9935700bbfa157ecba6311f44..705025b07970f720388f4139a6143234e8bd2e12 100644
(file)
--- a/
tools/keep-rsync/keep-rsync.go
+++ b/
tools/keep-rsync/keep-rsync.go
@@
-262,7
+262,7
@@
func copyBlocksToDst(toBeCopied []string, kcSrc, kcDst *keepclient.KeepClient, b
float64(done)/float64(total)*100, locator)
} else {
timePerBlock := time.Since(startedAt) / time.Duration(done)
- log.Printf("Copying data block %d of %d (%.2f%% done,
ETA %v
): %v", done+1, total,
+ log.Printf("Copying data block %d of %d (%.2f%% done,
%v est. time remaining
): %v", done+1, total,
float64(done)/float64(total)*100, timePerBlock*time.Duration(total-done), locator)
}