mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
minor fixes, openssl npe, wording
This commit is contained in:
@@ -132,7 +132,8 @@ public class SSLKsFactory {
|
||||
|
||||
try {
|
||||
KeyStore ks = KeyStore.getInstance("JKS", "SUN");
|
||||
ks.load(null, keyPassword.toCharArray());
|
||||
char[] pass = keyPassword==null? null : keyPassword.toCharArray();
|
||||
ks.load(null, pass);
|
||||
|
||||
X509Certificate cert = (X509Certificate) CertificateFactory.
|
||||
getInstance("X509").
|
||||
@@ -176,4 +177,4 @@ public class SSLKsFactory {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -187,7 +187,7 @@ public class NBCLI {
|
||||
DockerMetricsManager dmh = new DockerMetricsManager();
|
||||
dmh.startMetrics();
|
||||
String warn = "Docker Containers are started, for grafana and prometheus, hit" +
|
||||
"these urls in your browser: http://<host>:3000 and http://<host>:9090";
|
||||
" these urls in your browser: http://<host>:3000 and http://<host>:9090";
|
||||
logger.warn(warn);
|
||||
if (reportGraphiteTo != null) {
|
||||
logger.warn(String.format("Docker metrics are enabled (--docker-metrics)" +
|
||||
|
||||
Reference in New Issue
Block a user