httpAddress -> http_address, closes #118.

This commit is contained in:
kimchy 2010-04-06 13:33:36 +03:00
parent 5cef456305
commit cc6e6eb381
1 changed files with 2 additions and 2 deletions

View File

@ -86,11 +86,11 @@ public class HttpServer extends AbstractLifecycleComponent<HttpServer> {
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();
}