Skip to content

Commit

Permalink
#2335 Fix total
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Feb 6, 2022
1 parent d43a6ac commit f399824
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class MigrationStats() {
def setTotal(v: Long): Unit = total = v

override def toString: String = {
val totalTxt = if (total < 0) s"/${nSuccess + nFailure}" else s"/${total / 1000}"
val totalTxt = if (total < 0) s"/${nSuccess + nFailure}" else s"/$total"
val avg = if (global.isEmpty) "" else s" avg:${global}µs"
val failureAndExistTxt = if (nFailure > 0 || nExist > 0) {
val failureTxt = if (nFailure > 0) s"$nFailure failures" else ""
Expand Down

0 comments on commit f399824

Please sign in to comment.