From cc6e6eb3812247f2ee1329ba1fafcc13e92fb72b Mon Sep 17 00:00:00 2001 From: kimchy Date: Tue, 6 Apr 2010 13:33:36 +0300 Subject: [PATCH] httpAddress -> http_address, closes #118. --- .../src/main/java/org/elasticsearch/http/HttpServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/http/HttpServer.java b/modules/elasticsearch/src/main/java/org/elasticsearch/http/HttpServer.java index 66d051ded89..63ab6298ab6 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/http/HttpServer.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/http/HttpServer.java @@ -86,11 +86,11 @@ public class HttpServer extends AbstractLifecycleComponent { if (logger.isInfoEnabled()) { logger.info("{}", transport.boundAddress()); } - nodesInfo.putNodeAttribute("httpAddress", transport.boundAddress().publishAddress().toString()); + nodesInfo.putNodeAttribute("http_address", transport.boundAddress().publishAddress().toString()); } @Override protected void doStop() throws ElasticSearchException { - nodesInfo.removeNodeAttribute("httpAddress"); + nodesInfo.removeNodeAttribute("http_address"); transport.stop(); }