Incorrect log entry during startup in 4.0

Patch by Tommy Stendahl; Reviewed by Ariel Weisberg for CASSANDRA-14836
This commit is contained in:
tommy stendahl 2018-10-23 16:09:04 -04:00 committed by Ariel Weisberg
parent 4ae229f5cd
commit c3ef43d45e
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ public class StartupClusterConnectivityChecker
TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNanos),
connected,
peers.size(),
connected / (peers.size()) * 100.0);
String.format("%.2f", (connected / (float)peers.size()) * 100));
return succeeded;
}