diff options
Diffstat (limited to 'src/compaction/api.rs')
| -rw-r--r-- | src/compaction/api.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compaction/api.rs b/src/compaction/api.rs index e55d018..7f423da 100644 --- a/src/compaction/api.rs +++ b/src/compaction/api.rs @@ -85,7 +85,7 @@ enum StartError { Store(#[from] StoreError), } -fn error_response( +pub(super) fn error_response( status: StatusCode, message: impl Into<String>, details: Option<JsonValue>, @@ -467,6 +467,7 @@ pub(crate) async fn epochs<H: Host>(State(host): State<H>) -> Response { "current": current, "archived": host.compaction().archived_epochs(), "catchUp": host.compaction().catch_up_report(), + "quarantine": host.compaction().list_quarantine(|entry| entry.id.clone()), })) .into_response() } |
