Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 2903562

Browse files
author
Rob Rudin
committed
Tweaking these so mlAdminHost/mlManageHost take priority
1 parent 85e1d57 commit 2903562

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/com/marklogic/mgmt/DefaultManageConfigFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ public ManageConfig newManageConfig() {
2020
String mlUsername = getProperty("mlUsername");
2121
String mlPassword = getProperty("mlPassword");
2222

23-
String prop = getProperty("mlHost");
23+
String prop = getProperty("mlManageHost");
2424
if (prop != null) {
2525
logger.info("Manage host: " + prop);
2626
c.setHost(prop);
2727
} else {
28-
prop = getProperty("mlManageHost");
28+
prop = getProperty("mlHost");
2929
if (prop != null) {
3030
logger.info("Manage host: " + prop);
3131
c.setHost(prop);

src/main/java/com/marklogic/mgmt/admin/DefaultAdminConfigFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ public AdminConfig newAdminConfig() {
2020
String mlUsername = getProperty("mlUsername");
2121
String mlPassword = getProperty("mlPassword");
2222

23-
String prop = getProperty("mlHost");
23+
String prop = getProperty("mlAdminHost");
2424
if (prop != null) {
2525
logger.info("Admin host: " + prop);
2626
c.setHost(prop);
2727
} else {
28-
prop = getProperty("mlAdminHost");
28+
prop = getProperty("mlHost");
2929
if (prop != null) {
3030
logger.info("Admin host: " + prop);
3131
c.setHost(prop);

0 commit comments

Comments
 (0)