From 813f9c57d227a686c6fb08137a2b6b26e9986ef4 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 26 Oct 2026 23:21:01 +0100 Subject: show interpolated values in GET /admin/config --- src/node.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/node.rs') diff --git a/src/node.rs b/src/node.rs index 49e4194..945f5e7 100644 --- a/src/node.rs +++ b/src/node.rs @@ -46,7 +46,7 @@ pub(crate) struct NodeConfig { pub(crate) state_file: Option>, pub(crate) document_file: Option>, /// For `GET /admin/config`. - pub(crate) config_report: serde_json::Value, + pub(crate) config_reports: crate::config::Reports, /// The node's wall clock; `Clock::default()` outside tests. pub(crate) clock: Arc, } @@ -107,7 +107,7 @@ impl Node { state_file: config.state_file, document_file: config.document_file, files: config.files, - config: Arc::new(config.config_report), + config: Arc::new(config.config_reports), neighbours: Default::default(), topology_changed: Default::default(), pulling: Default::default(), -- cgit v1.3.1