commit 858e73b352acb9fdde44bf003c207ac9f31ea536 parent dbc50c207e902de55da826eb81c60d233457bc7f Author: Antoine A <> Date: Sat, 6 Dec 2025 17:24:14 +0100 ebisync: last fixes Diffstat:
| M | debian/etc/libeufin-ebisync/conf.d/ebisync-fetch.conf | | | 2 | +- |
| M | libeufin-ebisync/src/main/kotlin/tech/libeufin/ebisync/cli/Setup.kt | | | 8 | ++------ |
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/debian/etc/libeufin-ebisync/conf.d/ebisync-fetch.conf b/debian/etc/libeufin-ebisync/conf.d/ebisync-fetch.conf @@ -5,5 +5,5 @@ # Where should the ebics file be stored? This his can either can be azure-blob-storage or none # DESTINATION = azure-blob-storage -@inline-secret@ ebisync_fetch ../secrets/ebisync_fetch.secret.conf +@inline-secret@ ebisync-fetch ../secrets/ebisync-fetch.secret.conf diff --git a/libeufin-ebisync/src/main/kotlin/tech/libeufin/ebisync/cli/Setup.kt b/libeufin-ebisync/src/main/kotlin/tech/libeufin/ebisync/cli/Setup.kt @@ -134,16 +134,12 @@ class Setup: TalerCmd() { logger.info("EBICS ready") logger.info("Check fetch destination setup") - val dest = DestinationClient.prepare(cfg.fetch.destination, httpClient) - when (dest) { - null -> logger.info("No destination configured") + when (val dest = DestinationClient.prepare(cfg.fetch.destination, httpClient)) { + null -> logger.warn("No destination configured") is DestinationClient.AzureBlobStorage -> { dest.client.getContainterMetadata(dest.container) } } - if (dest == null) { - logger.warn("No destination configured") - } logger.info("Fetch destination ready") println("setup ready")