Skip to content

Commit c71e2c7

Browse files
committed
minor update
1 parent 573812e commit c71e2c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/integration/unified/client_encryption_operation_execution.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ func executeDecrypt(ctx context.Context, operation *operation) (*operationResult
405405
}
406406
t, d, ok := rawValue.BinaryOK()
407407
if !ok {
408-
return nil, fmt.Errorf("'value' argument is not a BSON binary")
408+
return nil, errors.New("'value' argument is not a BSON binary")
409409
}
410410

411411
rawValue, err = cee.Decrypt(ctx, bson.Binary{Subtype: t, Data: d})

0 commit comments

Comments
 (0)