1. timemachine
  2. scheduler

Commits

timemachine  committed b654bfe

Do not set configUrl if it is empty.

  • Participants
  • Parent commits 0b5186e
  • Branches 1.1.x

Comments (0)

Files changed (1)

File timemachine-scheduler/src/main/java/timemachine/scheduler/service/SystemServiceContainer.java

View file
 	
 	public String getSummaryDesc() {
 		SchedulerNode node = getSchedulerNodeService().getSchedulerNode();
-		String configUrlDesc = getConfigPropsService().getConfigUrl();
-		if (configUrlDesc == null)
-			configUrlDesc = ConfigPropsService.DEFAULT_CONFIG_FILE;
+		String configUrl = getConfigPropsService().getConfigUrl();
 		StringBuilder sb = new StringBuilder("[\n");
 		sb.append("  scheduler: " + node.getSchedulerData()).append(",\n");
 		sb.append("  schedulerNode: " + node).append(",\n");
-		sb.append("  configProps: " + configUrlDesc).append(",\n");
+		sb.append("  configProps: " + configUrl).append(",\n");
 		sb.append("  dataStore: " + getDataStoreService()).append(",\n");
 		sb.append("  scheduleRunner: " + getScheduleRunnerService()).append(",\n");
 		sb.append("  classLoader: " + getClassLoaderService()).append(",\n");