@@ -78,7 +78,7 @@ func MigrationStep3(kmsKeyID, ddbTableName, partitionKeyValue, sortKeyReadValue
78
78
79
79
_ , err = ddb .PutItem (context .TODO (), & putInput )
80
80
// 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.
82
82
if err != nil {
83
83
return err
84
84
}
@@ -88,7 +88,7 @@ func MigrationStep3(kmsKeyID, ddbTableName, partitionKeyValue, sortKeyReadValue
88
88
// during Step 0 or 1), then the item will still be in plaintext.
89
89
// If this is an item that was encrypted client-side (i.e. any item written
90
90
// 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.
92
92
key := map [string ]types.AttributeValue {
93
93
"partition_key" : & types.AttributeValueMemberS {Value : partitionKeyValue },
94
94
"sort_key" : & types.AttributeValueMemberN {Value : sortKeyReadValue },
@@ -102,7 +102,7 @@ func MigrationStep3(kmsKeyID, ddbTableName, partitionKeyValue, sortKeyReadValue
102
102
103
103
result , err := ddb .GetItem (context .TODO (), getInput )
104
104
// 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.
106
106
if err != nil {
107
107
return err
108
108
}
0 commit comments