mirror of https://github.com/micromata/borgbackup-butler.git

Kai Reinhard
08.15.2019 2dc31d043f2df07a15104a36b0aac055210da671
borgbutler-server/src/main/java/de/micromata/borgbutler/server/rest/ReposRest.java
@@ -65,7 +65,8 @@
    public String getRepoArchiveList(@QueryParam("id") String id, @QueryParam("force") boolean force,
                                     @QueryParam("prettyPrinter") boolean prettyPrinter) {
        if (force) {
            ButlerCache.getInstance().clearRepoCacheAccess();
            Repository repo = ButlerCache.getInstance().getRepository(id);
            ButlerCache.getInstance().clearRepoCacheAccess(repo);
        }
        Repository repository = ButlerCache.getInstance().getRepositoryArchives(id);
        return JsonUtils.toJson(repository, prettyPrinter);