borgbutler-core/src/main/java/de/micromata/borgbutler/demo/DemoRepos.java
@@ -39,7 +39,7 @@ * @return repo list including demo repos if configured. If not configured, the given list is returned (no op). */ public static List<BorgRepoConfig> getAllRepos(List<BorgRepoConfig> repositoryList) { if (!ConfigurationHandler.getConfiguration().isShowDemoRepos()) { if (!ConfigurationHandler.getConfiguration().getShowDemoRepos()) { return repositoryList; } init(repositoryList); borgbutler-core/src/main/kotlin/de/micromata/borgbutler/config/Configuration.kt
@@ -37,7 +37,7 @@ */ var maxArchiveContentCacheCapacityMb = 100 private set var isShowDemoRepos = true var showDemoRepos = true private set /** @@ -100,7 +100,7 @@ fun copyFrom(other: Configuration) { borgCommand = other.borgCommand maxArchiveContentCacheCapacityMb = other.maxArchiveContentCacheCapacityMb isShowDemoRepos = other.isShowDemoRepos showDemoRepos = other.showDemoRepos } @get:JsonIgnore @@ -121,11 +121,6 @@ return this } fun setShowDemoRepos(showDemoRepos: Boolean): Configuration { isShowDemoRepos = showDemoRepos return this } companion object { /** * Default dir name for restoring archives. borgbutler-server/src/main/kotlin/de/micromata/borgbutler/server/rest/SystemInfo.kt
@@ -11,7 +11,7 @@ class SystemInfo { var queueStatistics: BorgQueueStatistics? = null private set var isConfigurationOK = false var configurationOK = false private set var borgVersion: BorgVersion? = null private set @@ -22,7 +22,7 @@ } fun setConfigurationOK(configurationOK: Boolean): SystemInfo { isConfigurationOK = configurationOK this.configurationOK = configurationOK return this } borgbutler-server/src/main/kotlin/de/micromata/borgbutler/server/rest/SystemInfoRest.kt
@@ -19,7 +19,7 @@ val borgVersion = BorgInstallation.getInstance().getBorgVersion() val systemInfonfo = SystemInfo() .setQueueStatistics(BorgQueueExecutor.getInstance().getStatistics()) .setConfigurationOK(borgVersion.isVersionOK()) .setConfigurationOK(borgVersion.isVersionOK) .setBorgVersion(borgVersion) return systemInfonfo }