Skip to content

Commit cc6e6eb

Browse files
committed
httpAddress -> http_address, closes elastic#118.
1 parent 5cef456 commit cc6e6eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/elasticsearch/src/main/java/org/elasticsearch/http/HttpServer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ public void registerHandler(HttpRequest.Method method, String path, HttpServerHa
8686
if (logger.isInfoEnabled()) {
8787
logger.info("{}", transport.boundAddress());
8888
}
89-
nodesInfo.putNodeAttribute("httpAddress", transport.boundAddress().publishAddress().toString());
89+
nodesInfo.putNodeAttribute("http_address", transport.boundAddress().publishAddress().toString());
9090
}
9191

9292
@Override protected void doStop() throws ElasticSearchException {
93-
nodesInfo.removeNodeAttribute("httpAddress");
93+
nodesInfo.removeNodeAttribute("http_address");
9494
transport.stop();
9595
}
9696

0 commit comments

Comments
 (0)