Skip to content

Commit be195f2

Browse files
auto commit
1 parent 845d51f commit be195f2

File tree

1 file changed

+3
-3
lines changed
  • Examples/runtimes/go/migration/PlaintextToAWSDBE/awsdbe

1 file changed

+3
-3
lines changed

Examples/runtimes/go/migration/PlaintextToAWSDBE/awsdbe/step3.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func MigrationStep3(kmsKeyID, ddbTableName, partitionKeyValue, sortKeyReadValue
7878

7979
_, err = ddb.PutItem(context.TODO(), &putInput)
8080
// We return this error because we run test against the error.
81-
// When used in production code, you can decide how you can to handle errors.
81+
// When used in production code, you can decide how you want to handle errors.
8282
if err != nil {
8383
return err
8484
}
@@ -88,7 +88,7 @@ func MigrationStep3(kmsKeyID, ddbTableName, partitionKeyValue, sortKeyReadValue
8888
// during Step 0 or 1), then the item will still be in plaintext.
8989
// If this is an item that was encrypted client-side (i.e. any item written
9090
// during Step 2 or after), then the DDB enhanced client will decrypt the
91-
// item client-sid and surface it in our code as a plaintext item.
91+
// item client-side and surface it in our code as a plaintext item.
9292
key := map[string]types.AttributeValue{
9393
"partition_key": &types.AttributeValueMemberS{Value: partitionKeyValue},
9494
"sort_key": &types.AttributeValueMemberN{Value: sortKeyReadValue},
@@ -102,7 +102,7 @@ func MigrationStep3(kmsKeyID, ddbTableName, partitionKeyValue, sortKeyReadValue
102102

103103
result, err := ddb.GetItem(context.TODO(), getInput)
104104
// We return this error because we run test against the error.
105-
// When used in production code, you can decide how you can to handle errors.
105+
// When used in production code, you can decide how you want to handle errors.
106106
if err != nil {
107107
return err
108108
}

0 commit comments

Comments
 (0)