File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
gateway/spacegate-lib/src/plugin Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ pub struct SgFilterAuditLog {
58
58
#[ serde( skip) ]
59
59
jsonpath_inst : Option < JsonPathInst > ,
60
60
head_key_auth_ident : String ,
61
- path_kind_map_def : HashMap < String , String > ,
62
61
}
63
62
64
63
impl SgFilterAuditLog {
@@ -127,7 +126,6 @@ impl SgFilterAuditLog {
127
126
}
128
127
Err ( _) => false ,
129
128
} ;
130
- let kind = self . path_kind_map_def . keys ( ) . find ( |k| param. request_path . contains ( * k) ) . and_then ( |k| self . path_kind_map_def . get ( k) ) ;
131
129
let content = LogParamContent {
132
130
op : param. request_method ,
133
131
name : resp. extensions ( ) . get :: < CertInfo > ( ) . and_then ( |info| info. name . clone ( ) ) . unwrap_or_default ( ) ,
@@ -257,7 +255,6 @@ impl Default for SgFilterAuditLog {
257
255
exclude_log_path : vec ! [ "/starsysApi/apis" . to_string( ) ] ,
258
256
jsonpath_inst : None ,
259
257
head_key_auth_ident : "Iam-Auth-Ident" . to_string ( ) ,
260
- path_kind_map_def : HashMap :: from ( [ ( "op-api" . to_string ( ) , "op" . to_string ( ) ) ] ) ,
261
258
}
262
259
}
263
260
}
You can’t perform that action at this time.
0 commit comments