diff options
Diffstat (limited to 'sonar-application/src/main/java/org')
-rw-r--r-- | sonar-application/src/main/java/org/sonar/application/App.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-application/src/main/java/org/sonar/application/App.java b/sonar-application/src/main/java/org/sonar/application/App.java index 123467455ee..ad3710088ce 100644 --- a/sonar-application/src/main/java/org/sonar/application/App.java +++ b/sonar-application/src/main/java/org/sonar/application/App.java @@ -32,6 +32,7 @@ import org.sonar.application.process.StopRequestWatcherImpl; import org.sonar.process.SystemExit; import static org.sonar.application.config.SonarQubeVersionHelper.getSonarqubeVersion; +import static org.sonar.process.ProcessProperties.CLUSTER_NAME; public class App { @@ -48,6 +49,7 @@ public class App { try (AppState appState = new AppStateFactory(settings).create()) { appState.registerSonarQubeVersion(getSonarqubeVersion()); + appState.registerClusterName(settings.getProps().value(CLUSTER_NAME, "sonarqube")); AppReloader appReloader = new AppReloaderImpl(settingsLoader, fileSystem, appState, logging); fileSystem.reset(); CommandFactory commandFactory = new CommandFactoryImpl(settings.getProps(), fileSystem.getTempDir()); |