File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
secrets/vault/src/main/kotlin Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ group = "org.eclipse.apoapsis.ortserver"
3535application {
3636 mainClass.set(" io.ktor.server.netty.EngineMain" )
3737
38- val isDevelopment: Boolean = project.ext.has(" development" )
38+ val isDevelopment = project.ext.has(" development" )
3939 applicationDefaultJvmArgs = listOf (" -Dio.ktor.development=$isDevelopment " )
4040}
4141
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ import org.jetbrains.exposed.sql.Database
3636import org.koin.ktor.ext.inject
3737import org.koin.ktor.plugin.KOIN_ATTRIBUTE_KEY
3838
39- val DatabaseReady : EventDefinition <Database > = EventDefinition ()
39+ val DatabaseReady = EventDefinition <Database >()
4040
4141/* *
4242 * Connect and migrate the database. This is the only place where migrations for the production database are done. While
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ class VaultSecretsProvider(
9797 when {
9898 response.status == HttpStatusCode .NotFound -> null
9999 response.status.isSuccess() -> {
100- val secretResponse: VaultSecretResponse = response.body()
100+ val secretResponse = response.body< VaultSecretResponse > ()
101101 secretResponse.data.value?.let (::Secret )
102102 }
103103
You can’t perform that action at this time.
0 commit comments