This is an automated email from the ASF dual-hosted git repository. shoothzj pushed a commit to branch branch-4.17 in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
commit 061a73dbce060a891905f90dee5173e8e01033e4 Author: Nicolò Boschi <[email protected]> AuthorDate: Tue Apr 30 15:15:46 2024 +0200 fix: bookie http endpoint info always return 0.0.0.0 (#4325) (cherry picked from commit fe5bbfe6b12621cdb5b7433acf320c1e5f20b745) --- .../src/main/java/org/apache/bookkeeper/server/service/HttpService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookkeeper-server/src/main/java/org/apache/bookkeeper/server/service/HttpService.java b/bookkeeper-server/src/main/java/org/apache/bookkeeper/server/service/HttpService.java index 2173b756b9..cee00f84c9 100644 --- a/bookkeeper-server/src/main/java/org/apache/bookkeeper/server/service/HttpService.java +++ b/bookkeeper-server/src/main/java/org/apache/bookkeeper/server/service/HttpService.java @@ -77,7 +77,7 @@ public class HttpService extends ServerLifecycleComponent { if (conf.getServerConf().isHttpServerEnabled()) { EndpointInfo endpoint = new EndpointInfo("httpserver", conf.getServerConf().getHttpServerPort(), - "0.0.0.0", + conf.getServerConf().getHttpServerHost(), "http", null, null); componentInfoPublisher.publishEndpoint(endpoint); }
