(tx: &Option<ActivitySender>, denied: bool, deny_group: &'static str)
| 344 | } |
| 345 | |
| 346 | fn emit_activity(tx: &Option<ActivitySender>, denied: bool, deny_group: &'static str) { |
| 347 | if let Some(tx) = tx { |
| 348 | let _ = try_record_activity(tx, denied, deny_group); |
| 349 | } |
| 350 | } |
| 351 | |
| 352 | fn l7_inspection_active(l7_route: Option<&L7RouteSnapshot>) -> bool { |
| 353 | l7_route.is_some_and(|route| !route.configs.is_empty()) |
no test coverage detected