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/state | |
| parent | 932efcc8db81eda6f1d91fda74d002c0aecd6629 (diff) | |
show interpolated values in GET /admin/config
Diffstat (limited to 'src/state')
| -rw-r--r-- | src/state/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs index d4928a8..c8243a2 100644 --- a/src/state/mod.rs +++ b/src/state/mod.rs @@ -120,9 +120,9 @@ pub(crate) struct AppState { pub(crate) document_file: Option<Arc<crate::document::file::DocumentFile>>, /// What this node remembers across restarts (`--state-file`), if configured. pub(crate) state_file: Option<Arc<crate::swarm::state_file::StateFile>>, - /// The effective configuration with sources, imported values left out + /// The effective configuration with sources, imported values and secrets left out /// (`config::Loaded::report`), for `GET /admin/config`. - pub(crate) config: Arc<serde_json::Value>, + pub(crate) config: Arc<crate::config::Reports>, /// Our own connectivity record and stability tier (`swarm::stability`). pub(crate) stability: Arc<std::sync::Mutex<crate::swarm::stability::Stability>>, /// Round-trip times to peers (`swarm::rtt`). |
