diff options
| author | tv <tv@krebsco.de> | 2026-10-26 23:21:01 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-26 23:21:01 +0100 |
| commit | 813f9c57d227a686c6fb08137a2b6b26e9986ef4 (patch) | |
| tree | 774e8fb9f86d608fe78f40981a6abf6f2ccdd032 /src/node.rs | |
| parent | 932efcc8db81eda6f1d91fda74d002c0aecd6629 (diff) | |
show interpolated values in GET /admin/config
Diffstat (limited to 'src/node.rs')
| -rw-r--r-- | src/node.rs | 4 |
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(), |
