Skip to content
Permalink
Browse files
Fixing dynamoDbLockConfig required prop check (#4422)
  • Loading branch information
nsivabalan committed Dec 28, 2021
1 parent 05942e0 commit 3d7a8695cdd76cdf359f9d1bb7108a49b41d64c4
Showing 1 changed file with 0 additions and 1 deletion.
@@ -199,7 +199,6 @@ private void createLockTableInDynamoDB(AmazonDynamoDB dynamoDB, String tableName
}

private void checkRequiredProps(final LockConfiguration config) {
ValidationUtils.checkArgument(config.getConfig().getString(DynamoDbBasedLockConfig.DYNAMODB_LOCK_BILLING_MODE.key()) != null);
ValidationUtils.checkArgument(config.getConfig().getString(DynamoDbBasedLockConfig.DYNAMODB_LOCK_TABLE_NAME.key()) != null);
ValidationUtils.checkArgument(config.getConfig().getString(DynamoDbBasedLockConfig.DYNAMODB_LOCK_REGION.key()) != null);
ValidationUtils.checkArgument(config.getConfig().getString(DynamoDbBasedLockConfig.DYNAMODB_LOCK_PARTITION_KEY.key()) != null);

0 comments on commit 3d7a869

Please sign in to comment.