File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -97,9 +97,7 @@ impl ClientState {
97
97
}
98
98
99
99
fn make_crypt ( opts : & AutoEncryptionOptions ) -> Result < Crypt > {
100
- let mut builder = Crypt :: builder ( )
101
- . kms_providers ( & opts. kms_providers . credentials_doc ( ) ?) ?
102
- . fle2v2 ( true ) ?;
100
+ let mut builder = Crypt :: builder ( ) . kms_providers ( & opts. kms_providers . credentials_doc ( ) ?) ?;
103
101
if let Some ( m) = & opts. schema_map {
104
102
builder = builder. schema_map ( & bson:: to_document ( m) ?) ?;
105
103
}
Original file line number Diff line number Diff line change @@ -74,7 +74,6 @@ impl ClientEncryption {
74
74
let crypt = Crypt :: builder ( )
75
75
. kms_providers ( & kms_providers. credentials_doc ( ) ?) ?
76
76
. use_need_kms_credentials_state ( )
77
- . fle2v2 ( true ) ?
78
77
. build ( ) ?;
79
78
let exec = CryptExecutor :: new_explicit (
80
79
key_vault_client. weak ( ) ,
You can’t perform that action at this time.
0 commit comments