diff options
| author | Paul-Christian Volkmer | 2024-03-26 09:56:31 +0100 |
|---|---|---|
| committer | Paul-Christian Volkmer | 2024-03-26 09:56:31 +0100 |
| commit | 8ae958b8c4ffdef1694e2a0da88cf0bd69e211be (patch) | |
| tree | 298c71f0b63eb8c619dc0aa001be871938d8b500 /src/main/kotlin/dev/dnpm | |
| parent | 08540e3bd7e0d2ef1a13a07e8827c25c601120a3 (diff) | |
feat: show information if no output is defined
Diffstat (limited to 'src/main/kotlin/dev/dnpm')
| -rw-r--r-- | src/main/kotlin/dev/dnpm/etl/processor/web/ConfigController.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/dev/dnpm/etl/processor/web/ConfigController.kt b/src/main/kotlin/dev/dnpm/etl/processor/web/ConfigController.kt index eb9d541..36589c8 100644 --- a/src/main/kotlin/dev/dnpm/etl/processor/web/ConfigController.kt +++ b/src/main/kotlin/dev/dnpm/etl/processor/web/ConfigController.kt @@ -56,7 +56,7 @@ class ConfigController( @GetMapping fun index(model: Model): String { val outputConnectionAvailable = - connectionCheckServices.filterIsInstance<OutputConnectionCheckService>().first().connectionAvailable() + connectionCheckServices.filterIsInstance<OutputConnectionCheckService>().firstOrNull()?.connectionAvailable() val gPasConnectionAvailable = connectionCheckServices.filterIsInstance<GPasConnectionCheckService>().firstOrNull()?.connectionAvailable() |
