Remove extra `ms` from log message (#42068)

This log message logs a `TimeValue` which includes units, but also logs an
extra `ms`. This commit removes the extra `ms`.
This commit is contained in:
David Turner 2019-05-10 14:02:09 +01:00
parent 1be5bb5bfd
commit 2a8a64d3f1
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ public class JoinHelper {
}
void logWarnWithTimestamp() {
logger.info(() -> new ParameterizedMessage("last failed join attempt was {} ms ago, failed to join {} with {}",
logger.info(() -> new ParameterizedMessage("last failed join attempt was {} ago, failed to join {} with {}",
TimeValue.timeValueMillis(TimeValue.nsecToMSec(System.nanoTime() - timestamp)),
destination,
joinRequest),