epugh commented on code in PR #2391:
URL: https://github.com/apache/solr/pull/2391#discussion_r3228557730
##########
solr/core/src/java/org/apache/solr/cloud/SolrZkServer.java:
##########
@@ -253,10 +263,10 @@ public static Properties getProperties(Path configPath)
throws ConfigException {
// Given zkHost=localhost:1111,localhost:2222 this will inject
// server.0=localhost:1112:1113
// server.1=localhost:2223:2224
- public static void injectServers(Properties props, boolean zkRun, String
zkHost) {
+ public static void injectServers(Properties props, String zkHost) {
// if clientPort not already set, use zkRun
- if (zkRun && props.getProperty("clientPort") == null) {
+ if (props.getProperty("clientPort") == null) {
// int portIdx = zkRun.lastIndexOf(':');
int portIdx = "".lastIndexOf(':');
Review Comment:
not totally... And I think it was me hacking around a bit trying to figure
out all the various sys props that existed!
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]