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

...
Kai Reinhard
08.22.2018 84c80ab204f31b5ec261b4dc1645be96273c6c69
borgbutler-core/src/main/java/de/micromata/borgbutler/json/borg/Repository.java
@@ -33,7 +33,7 @@
    public Repository setLocation(String location) {
        this.location = location;
        // It's ugly but efficiently ;-)
        BorgRepoConfig repoConfig = ConfigurationHandler.getConfiguration().getRepo(location);
        BorgRepoConfig repoConfig = ConfigurationHandler.getConfiguration().getRepoConfig(location);
        if (repoConfig != null) {
            this.name = repoConfig.getName();
        }