Skip to content

Commit 88a5db1

Browse files
committed
add task
1 parent 12a1530 commit 88a5db1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mongo/client_encryption.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,14 @@ func (ce *ClientEncryption) CreateDataKey(
188188
}
189189

190190
// create data key document
191+
fmt.Println("CreateDataKey")
191192
dataKeyDoc, err := ce.crypt.CreateDataKey(ctx, kmsProvider, co)
192193
if err != nil {
193194
return bson.Binary{}, err
194195
}
195196

196197
// insert key into key vault
198+
fmt.Println("InsertOne")
197199
_, err = ce.keyVaultColl.InsertOne(ctx, dataKeyDoc)
198200
if err != nil {
199201
return bson.Binary{}, err

0 commit comments

Comments
 (0)