Skip to content

Commit 1c21a49

Browse files
committed
m
1 parent 09f7f78 commit 1c21a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DynamoDbEncryption/runtimes/rust/examples/basic_get_put_example.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ pub async fn put_item_get_item() -> Result<(), crate::BoxError> {
116116
// 5. Create a new AWS SDK DynamoDb client using the TableEncryptionConfigs
117117
let sdk_config = aws_config::load_defaults(aws_config::BehaviorVersion::latest()).await;
118118
let dynamo_config = aws_sdk_dynamodb::config::Builder::from(&sdk_config)
119-
.interceptor(DbEsdkInterceptor::new(table_configs))
119+
.interceptor(DbEsdkInterceptor::new(table_configs)?)
120120
.build();
121121
let ddb = aws_sdk_dynamodb::Client::from_conf(dynamo_config);
122122

0 commit comments

Comments
 (0)