]> source.dussan.org Git - sonarqube.git/commitdiff
fix quality flaw
authorStephane Gamard <stephane.gamard@searchbox.com>
Tue, 29 Apr 2014 12:48:03 +0000 (14:48 +0200)
committerStephane Gamard <stephane.gamard@searchbox.com>
Tue, 29 Apr 2014 12:48:03 +0000 (14:48 +0200)
sonar-server/src/main/java/org/sonar/server/es/ESNode.java

index 529f042abc0deab8e1d99bce5ce9d97264557071..446b6ff1ca0877f2aacb318540d980e8d425cad1 100644 (file)
@@ -120,7 +120,7 @@ public class ESNode implements Startable {
   }
 
   private void initRestConsole(ImmutableSettings.Builder esSettings) {
-    int httpPort = 8888;//settings.getInt("sonar.es.http.port");
+    int httpPort = settings.getInt("sonar.es.http.port");
     if (httpPort > 0) {
       LOG.warn("Elasticsearch HTTP console enabled on port {}. Only for debugging purpose.", httpPort);
       esSettings.put(HTTP_ENABLED, true);