Skip to content

Commit c10d543

Browse files
committed
Don't fail credentials unit tests if credentials are found on a file
1 parent d1d210d commit c10d543

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"id": "3ddb265e-4270-47be-a4b1-5251acbcd270",
3+
"type": "bugfix",
4+
"description": "Don't fail credentials unit tests if credentials are found on a file",
5+
"modules": [
6+
"config"
7+
]
8+
}

config/resolve_credentials_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,7 @@ func TestResolveCredentialsIMDSClient(t *testing.T) {
578578
WithRetryer(func() aws.Retryer { return aws.NopRetryer{} }),
579579
WithHTTPClient(httpClient),
580580
WithSharedConfigFiles([]string{}),
581+
WithSharedCredentialsFiles([]string{}),
581582
}
582583

583584
if tc.enabledState != imds.ClientDefaultEnableState {

0 commit comments

Comments
 (0)