summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main
diff options
context:
space:
mode:
authorStephane Gamard <stephane.gamard@searchbox.com>2014-04-29 14:48:03 +0200
committerStephane Gamard <stephane.gamard@searchbox.com>2014-04-29 14:48:03 +0200
commit88168861298ce1314d924d7f603ebd2224c29fb5 (patch)
tree4f2202174a0423be7f85e3ba69192947660865a1 /sonar-server/src/main
parent7645c7c2f671ba977aa701c35e1c6a3e3779b661 (diff)
downloadsonarqube-88168861298ce1314d924d7f603ebd2224c29fb5.tar.gz
sonarqube-88168861298ce1314d924d7f603ebd2224c29fb5.zip
fix quality flaw
Diffstat (limited to 'sonar-server/src/main')
-rw-r--r--sonar-server/src/main/java/org/sonar/server/es/ESNode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/es/ESNode.java b/sonar-server/src/main/java/org/sonar/server/es/ESNode.java
index 529f042abc0..446b6ff1ca0 100644
--- a/sonar-server/src/main/java/org/sonar/server/es/ESNode.java
+++ b/sonar-server/src/main/java/org/sonar/server/es/ESNode.java
@@ -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);