aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-process-monitor
diff options
context:
space:
mode:
authorEric Hartmann <hartmann.eric@gmail.com>2017-04-14 17:23:36 +0200
committerEric Hartmann <hartmann.eric@gmail.Com>2017-04-27 09:23:18 +0200
commit0274020f896128cbb59e4b716ab9e998011ea3b6 (patch)
treeb3e971cf741551f7ef50cf38e0be0a65022abf92 /server/sonar-process-monitor
parenta5fb1f9e0ce662aa7f8a8d6e79645dc9438cee82 (diff)
downloadsonarqube-0274020f896128cbb59e4b716ab9e998011ea3b6.tar.gz
sonarqube-0274020f896128cbb59e4b716ab9e998011ea3b6.zip
SONAR-9002 Fix incorrect message
Diffstat (limited to 'server/sonar-process-monitor')
-rw-r--r--server/sonar-process-monitor/src/main/java/org/sonar/application/SchedulerImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-process-monitor/src/main/java/org/sonar/application/SchedulerImpl.java b/server/sonar-process-monitor/src/main/java/org/sonar/application/SchedulerImpl.java
index 91f914b7f38..b13f4daaca9 100644
--- a/server/sonar-process-monitor/src/main/java/org/sonar/application/SchedulerImpl.java
+++ b/server/sonar-process-monitor/src/main/java/org/sonar/application/SchedulerImpl.java
@@ -121,7 +121,7 @@ public class SchedulerImpl implements Scheduler, ProcessEventListener, ProcessLi
} else {
Optional<String> leader = appState.getLeaderHostName();
if (leader.isPresent()) {
- LOG.info("Waiting for initialization from " + appState.getLeaderHostName());
+ LOG.info("Waiting for initialization from " + leader.get());
} else {
LOG.error("Initialization failed. All nodes must be restarted");
}