Skip to content

Commit 47efd5d

Browse files
committed
fix(windows): satisfy MXC policy mapper lint
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
1 parent 40e82bb commit 47efd5d

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

  • crates/openshell-driver-mxc/src/policy_map

crates/openshell-driver-mxc/src/policy_map/map.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -524,10 +524,7 @@ fn report_endpoint_l7_losses(endpoint: &NetworkEndpoint, path: &str, items: &mut
524524
items,
525525
&format!("{path}.tls"),
526526
severity,
527-
&format!(
528-
"MXC has no OpenShell TLS inspection mode equivalent for '{}'.",
529-
tls
530-
),
527+
&format!("MXC has no OpenShell TLS inspection mode equivalent for '{tls}'."),
531528
"TLS inspection mode",
532529
"MXC network policy is host-level only.",
533530
);
@@ -563,7 +560,7 @@ fn report_endpoint_l7_losses(endpoint: &NetworkEndpoint, path: &str, items: &mut
563560
items,
564561
&format!("{path}.access"),
565562
"error",
566-
&format!("MXC has no access preset equivalent for '{}'.", access),
563+
&format!("MXC has no access preset equivalent for '{access}'."),
567564
"REST/WebSocket/GraphQL access preset",
568565
"MXC cannot enforce method or operation-level access.",
569566
);

0 commit comments

Comments
 (0)