Skip to content

Commit 120e5aa

Browse files
committed
feat: increase ImdsClient.Builder.engine visibility to public
1 parent 42751fd commit 120e5aa

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"id": "3bc2e0a5-d8d4-4051-a723-a54427a96e7e",
3+
"type": "feature",
4+
"description": "Enable configuring an HTTP engine on `ImdsClient`"
5+
}

aws-runtime/aws-config/common/src/aws/sdk/kotlin/runtime/config/imds/ImdsClient.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ public class ImdsClient private constructor(builder: Builder) : InstanceMetadata
172172
public var logMode: LogMode = LogMode.Default
173173

174174
/**
175-
* The HTTP engine to use to make requests with. This is here to facilitate testing and can otherwise be ignored
175+
* The HTTP engine to use to make requests with
176176
*/
177-
internal var engine: HttpClientEngine? = null
177+
public var engine: HttpClientEngine? = null
178178

179179
/**
180180
* The source of time for token refreshes. This is here to facilitate testing and can otherwise be ignored

0 commit comments

Comments
 (0)