cli_v2: implement RetryBlockResync and PurgeBlocks

This commit is contained in:
Alex Auvolat
2025-01-31 17:19:26 +01:00
parent d405a9f839
commit b1629dd355
6 changed files with 212 additions and 165 deletions
+2
View File
@@ -67,6 +67,8 @@ impl AdminApiRequest {
// Block APIs
GET ListBlockErrors (default::body, query::node),
POST GetBlockInfo (body_field, query::node),
POST RetryBlockResync (body_field, query::node),
POST PurgeBlocks (body_field, query::node),
]);
if let Some(message) = query.nonempty_message() {