Fix copy/paste mistake.

This commit is contained in:
Findley, Randy 2016-10-01 21:34:51 -04:00
parent 982c80704a
commit fa96789a2b

View file

@ -130,7 +130,7 @@ public class KinesisClientLibConfigurator {
// Decode the CloudWatch credentials provider if it exists. If not use the Kinesis credentials provider.
AWSCredentialsProvider providerCloudWatch;
String propCredentialsProviderCloudWatchValue = properties.getProperty(PROP_CREDENTIALS_PROVIDER_CLOUDWATCH);
if (propCredentialsProviderDynamoDBValue == null) {
if (propCredentialsProviderCloudWatchValue == null) {
providerCloudWatch = provider;
} else {
providerCloudWatch = awsCPPropGetter.decodeValue(propCredentialsProviderCloudWatchValue);