diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2015-03-13 19:01:14 +0100 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2015-03-13 19:01:14 +0100 |
commit | 21169714e9a0b1a5edb7305ce06a52d0ad7d3f84 (patch) | |
tree | 5ca1acac6fceb432b7598ae9084c75e2c1d2655f /kamon-log-reporter/src/main/scala | |
parent | 3b6977edda25b98914a567f690bce9aecbb60d64 (diff) | |
download | Kamon-21169714e9a0b1a5edb7305ce06a52d0ad7d3f84.tar.gz Kamon-21169714e9a0b1a5edb7305ce06a52d0ad7d3f84.tar.bz2 Kamon-21169714e9a0b1a5edb7305ce06a52d0ad7d3f84.zip |
= logreporter: fix MissingFormatArgumentException when reporting CPU metrics.
Diffstat (limited to 'kamon-log-reporter/src/main/scala')
-rw-r--r-- | kamon-log-reporter/src/main/scala/kamon/logreporter/LogReporter.scala | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/kamon-log-reporter/src/main/scala/kamon/logreporter/LogReporter.scala b/kamon-log-reporter/src/main/scala/kamon/logreporter/LogReporter.scala index ad3e77f6..8c6087d8 100644 --- a/kamon-log-reporter/src/main/scala/kamon/logreporter/LogReporter.scala +++ b/kamon-log-reporter/src/main/scala/kamon/logreporter/LogReporter.scala @@ -253,11 +253,10 @@ class LogReporterSubscriber extends Actor with ActorLogging { || Max: %-12s Max: %-12s | || | |+--------------------------------------------------------------------------------------------------+""" - .stripMargin. - format( - (user.min, total.min, - user.average, total.average, - user.max, total.max))) + .stripMargin.format( + user.min, total.min, + user.average, total.average, + user.max, total.max)) } } |