Skip to content

Commit

Permalink
remove usage of SdkDispatchers
Browse files Browse the repository at this point in the history
  • Loading branch information
lauzadis committed Jan 9, 2025
1 parent a35e321 commit cecf4b6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ package aws.sdk.kotlin.runtime.config.profile
import aws.sdk.kotlin.runtime.InternalSdkApi
import aws.sdk.kotlin.runtime.config.AwsSdkSetting
import aws.smithy.kotlin.runtime.config.resolve
import aws.smithy.kotlin.runtime.io.internal.SdkDispatchers
import aws.smithy.kotlin.runtime.telemetry.logging.logger
import aws.smithy.kotlin.runtime.telemetry.trace.withSpan
import aws.smithy.kotlin.runtime.util.OsFamily
import aws.smithy.kotlin.runtime.util.PlatformProvider
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.IO
import kotlinx.coroutines.withContext
import kotlin.coroutines.coroutineContext

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

// merged AWS configuration based on optional configuration and credential file contents
withContext(SdkDispatchers.IO) {
withContext(Dispatchers.IO) {
mergeFiles(
parse(
logger,
Expand Down

0 comments on commit cecf4b6

Please sign in to comment.