aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-26 23:21:01 +0100
committertv <tv@krebsco.de>2026-10-26 23:21:01 +0100
commit8ad1bf93b8b42dc04068f74d8dafb263537d645f (patch)
treeea769f93de7a4a2ba6040c185d9491ef94c88490 /src/node.rs
parent9240aa8c54b8e7855c144d1ed8a37cda947e6ae2 (diff)
show interpolated values in GET /admin/config
Diffstat (limited to 'src/node.rs')
-rw-r--r--src/node.rs4
1 files changed, 2 insertions, 2 deletions
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<Arc<StateFile>>,
pub(crate) document_file: Option<Arc<DocumentFile>>,
/// 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<Clock>,
}
@@ -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(),