Skip to content

Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.

fix: clippy field_reassign_with_default for StreamableHttpServerConfig

FABIOTESS8ebeb2d57977
diff --git a/src/main.rs b/src/main.rs
index c1e5f455..66138981 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -439,9 +439,11 @@ async fn main() -> anyhow::Result<()> {
let shared_db = StateDb::open(&db_path_owned)?;
let ct = CancellationToken::new();
- let mut http_config = StreamableHttpServerConfig::default();
- http_config.stateful_mode = true;
- http_config.cancellation_token = ct.clone();
+ let http_config = StreamableHttpServerConfig {
+ stateful_mode: true,
+ cancellation_token: ct.clone(),
+ ..Default::default()
+ };
let shared_graph_for_service = shared_graph.clone();
let gw_for_service = governance_webhook.clone();