From f399824c26157efb2142f9776a1c8656d401a93a Mon Sep 17 00:00:00 2001 From: To-om Date: Sun, 6 Feb 2022 17:25:46 +0100 Subject: [PATCH] #2335 Fix total --- .../src/main/scala/org/thp/thehive/migration/MigrationOps.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration/src/main/scala/org/thp/thehive/migration/MigrationOps.scala b/migration/src/main/scala/org/thp/thehive/migration/MigrationOps.scala index ae174496d6..993ca1827f 100644 --- a/migration/src/main/scala/org/thp/thehive/migration/MigrationOps.scala +++ b/migration/src/main/scala/org/thp/thehive/migration/MigrationOps.scala @@ -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 ""