zymap commented on code in PR #3962:
URL: https://github.com/apache/bookkeeper/pull/3962#discussion_r1201405682


##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/conf/ServerConfiguration.java:
##########
@@ -3698,7 +3700,7 @@ public ServerConfiguration 
setHttpServerTrustStorePath(String trustStorePath) {
      * @return http server trustStore password
      */
     public String getHttpServerTrustStorePassword() {
-        return getString(HTTP_SERVER_KEY_STORE_PASSWORD);
+        return getString(HTTP_SERVER_TRUST_STORE_PASSWORD);

Review Comment:
   An easier way to keep the compatibility and avoid introducing a new 
configuration:
   ```
   return getString(HTTP_SERVER_TRUST_STORE_PASSWORD, 
getString(HTTP_SERVER_KEY_STORE_PASSWORD))
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to