File tree 2 files changed +3
-2
lines changed
cipherstash-proxy/src/encrypt
eql-mapper/src/transformation_rules
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,9 @@ impl Encrypt {
57
57
58
58
let eql_version = {
59
59
let client = connect:: database ( & config. database ) . await ?;
60
- let rows = client. query ( "SELECT eql_v1.version() AS version;" , & [ ] ) . await ;
60
+ let rows = client
61
+ . query ( "SELECT eql_v1.version() AS version;" , & [ ] )
62
+ . await ;
61
63
// let rows = client.query("SELECT 'WAT' AS version;", &[]).await;
62
64
63
65
match rows {
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ impl<'ast> TransformationRule<'ast> for ReplacePlaintextEqlLiterals<'ast> {
27
27
node_path : & NodePath < ' ast > ,
28
28
target_node : & mut N ,
29
29
) -> Result < bool , EqlMapperError > {
30
- if let Some ( ( Expr :: Value ( value) , ) ) = node_path. last_1_as :: < Expr > ( ) {
31
30
if self . would_edit ( node_path, target_node) {
32
31
if let Some ( ( Expr :: Value ( value) , ) ) = node_path. last_1_as :: < Expr > ( ) {
33
32
if let Some ( replacement) = self . encrypted_literals . remove ( & NodeKey :: new ( value) ) {
You can’t perform that action at this time.
0 commit comments