diff options
| author | tv <tv@krebsco.de> | 2026-10-31 05:01:17 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-31 05:01:17 +0100 |
| commit | 69bc5ae4ce1c0e8ff2fe03091b1ba022edc13ad1 (patch) | |
| tree | 73650e158f1872cb04a42d92da4ff41a2f4edd9e /src/api/stats.rs | |
| parent | 6c7809103f62c89fc10cc82228a28a0f39db5277 (diff) | |
replace EpochInfo by EpochRecord
Diffstat (limited to 'src/api/stats.rs')
| -rw-r--r-- | src/api/stats.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/api/stats.rs b/src/api/stats.rs index 9e1b278..13610dd 100644 --- a/src/api/stats.rs +++ b/src/api/stats.rs @@ -13,7 +13,8 @@ use std::collections::BTreeMap; use serde::Serialize; -use super::peers::{EpochInfo, PeerListResponse, peer_list}; +use super::peers::{PeerListResponse, peer_list}; +use crate::document::replica::EpochRecord; use crate::state::{AppState, Incidents}; use crate::swarm::{members, stability, topology}; use crate::transport::stats::TransportStats; @@ -28,7 +29,7 @@ pub(crate) struct StatsResponse { alias: Option<String>, uptime_secs: u64, ready: bool, - epoch: EpochInfo, + epoch: EpochRecord, document: DocumentStats, catch_up: CatchUpStats, remakes: RemakeStats, |
