diff --git a/ktor-server/ktor-server-core/posix/src/io/ktor/server/config/ConfigLoadersNix.kt b/ktor-server/ktor-server-core/posix/src/io/ktor/server/config/ConfigLoadersNix.kt index f250d3e803..533bb2eac8 100644 --- a/ktor-server/ktor-server-core/posix/src/io/ktor/server/config/ConfigLoadersNix.kt +++ b/ktor-server/ktor-server-core/posix/src/io/ktor/server/config/ConfigLoadersNix.kt @@ -1,11 +1,10 @@ /* - * Copyright 2014-2022 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. + * Copyright 2014-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ package io.ktor.server.config import io.ktor.server.engine.* -import io.ktor.utils.io.* internal actual val CONFIG_PATH: List get() = listOfNotNull( @@ -18,6 +17,7 @@ internal actual val CONFIG_PATH: List public actual val configLoaders: List get() = _configLoaders +@Suppress("ObjectPropertyName") private val _configLoaders: MutableList = mutableListOf() public fun addConfigLoader(loader: ConfigLoader) {