Skip to content

Commit cecf4b6

Browse files
committed
remove usage of SdkDispatchers
1 parent a35e321 commit cecf4b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

aws-runtime/aws-config/common/src/aws/sdk/kotlin/runtime/config/profile/AwsConfigLoader.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ package aws.sdk.kotlin.runtime.config.profile
88
import aws.sdk.kotlin.runtime.InternalSdkApi
99
import aws.sdk.kotlin.runtime.config.AwsSdkSetting
1010
import aws.smithy.kotlin.runtime.config.resolve
11-
import aws.smithy.kotlin.runtime.io.internal.SdkDispatchers
1211
import aws.smithy.kotlin.runtime.telemetry.logging.logger
1312
import aws.smithy.kotlin.runtime.telemetry.trace.withSpan
1413
import aws.smithy.kotlin.runtime.util.OsFamily
1514
import aws.smithy.kotlin.runtime.util.PlatformProvider
15+
import kotlinx.coroutines.Dispatchers
16+
import kotlinx.coroutines.IO
1617
import kotlinx.coroutines.withContext
17-
import kotlin.coroutines.coroutineContext
1818

1919
/**
2020
* Load the shared AWS configuration specified in local configuration files.
@@ -38,7 +38,7 @@ public suspend fun loadAwsSharedConfig(
3838
val logger = coroutineContext.logger("AwsConfigParser")
3939

4040
// merged AWS configuration based on optional configuration and credential file contents
41-
withContext(SdkDispatchers.IO) {
41+
withContext(Dispatchers.IO) {
4242
mergeFiles(
4343
parse(
4444
logger,

0 commit comments

Comments
 (0)