Fix copy/paste mistake.
This commit is contained in:
parent
982c80704a
commit
fa96789a2b
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ public class KinesisClientLibConfigurator {
|
||||||
// Decode the CloudWatch credentials provider if it exists. If not use the Kinesis credentials provider.
|
// Decode the CloudWatch credentials provider if it exists. If not use the Kinesis credentials provider.
|
||||||
AWSCredentialsProvider providerCloudWatch;
|
AWSCredentialsProvider providerCloudWatch;
|
||||||
String propCredentialsProviderCloudWatchValue = properties.getProperty(PROP_CREDENTIALS_PROVIDER_CLOUDWATCH);
|
String propCredentialsProviderCloudWatchValue = properties.getProperty(PROP_CREDENTIALS_PROVIDER_CLOUDWATCH);
|
||||||
if (propCredentialsProviderDynamoDBValue == null) {
|
if (propCredentialsProviderCloudWatchValue == null) {
|
||||||
providerCloudWatch = provider;
|
providerCloudWatch = provider;
|
||||||
} else {
|
} else {
|
||||||
providerCloudWatch = awsCPPropGetter.decodeValue(propCredentialsProviderCloudWatchValue);
|
providerCloudWatch = awsCPPropGetter.decodeValue(propCredentialsProviderCloudWatchValue);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue