File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
marklogic-data-hub/src/main/java/com/marklogic/hub Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -135,8 +135,7 @@ public HubConfig(String projectDir) {
135135 */
136136 public static HubConfig hubFromEnvironment (String projectDir , String environment ) {
137137 HubConfig config = new HubConfig (projectDir );
138- config .environmentProperties = config .getProperties (environment );
139- config .loadConfigurationFromProperties (config .environmentProperties );
138+ config .loadConfigurationFromProperties (config .getProperties (environment ));
140139 return config ;
141140 }
142141
@@ -151,6 +150,8 @@ private Properties getProperties(String environment) {
151150 }
152151
153152 public void loadConfigurationFromProperties (Properties environmentProperties ) {
153+ this .environmentProperties = environmentProperties ;
154+
154155 host = getEnvPropString (environmentProperties , "mlHost" , host );
155156
156157 stagingDbName = getEnvPropString (environmentProperties , "mlStagingDbName" , stagingDbName );
You can’t perform that action at this time.
0 commit comments