File tree 1 file changed +7
-3
lines changed
Source/AwsCommonRuntimeKit/auth/credentials
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -76,11 +76,15 @@ public final class CRTAWSCredentialsProvider {
76
76
allocator: Allocator = defaultAllocator) throws {
77
77
78
78
var profileOptionsC = aws_credentials_provider_profile_options ( )
79
- if let configFileName = profileOptions. configFileNameOverride,
80
- let credentialsFileName = profileOptions. credentialsFileNameOverride,
81
- let profileName = profileOptions. profileFileNameOverride {
79
+ if let configFileName = profileOptions. configFileNameOverride {
82
80
profileOptionsC. config_file_name_override = configFileName. awsByteCursor
81
+ }
82
+
83
+ if let credentialsFileName = profileOptions. credentialsFileNameOverride {
83
84
profileOptionsC. credentials_file_name_override = credentialsFileName. awsByteCursor
85
+ }
86
+
87
+ if let profileName = profileOptions. profileFileNameOverride {
84
88
profileOptionsC. profile_name_override = profileName. awsByteCursor
85
89
}
86
90
profileOptionsC. shutdown_options = WrappedCRTCredentialsProvider . setUpShutDownOptions (
You can’t perform that action at this time.
0 commit comments