aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli/cmd.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-03-15 10:56:57 +0100
committerAlex Auvolat <alex@adnab.me>2024-03-15 13:51:31 +0100
commita68c37555d15bb19a10f74c7ee85485a5228ab66 (patch)
treed91773c903c8c423b3643ce0bb0391b574bd6e9d /src/garage/cli/cmd.rs
parent1e42808a59c35aae297d9dfd1c166c09f0b99347 (diff)
downloadgarage-a68c37555d15bb19a10f74c7ee85485a5228ab66.tar.gz
garage-a68c37555d15bb19a10f74c7ee85485a5228ab66.zip
[db-snapshot] add garage meta snapshot cli operation
Diffstat (limited to 'src/garage/cli/cmd.rs')
-rw-r--r--src/garage/cli/cmd.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/garage/cli/cmd.rs b/src/garage/cli/cmd.rs
index 48359614..4c0a5322 100644
--- a/src/garage/cli/cmd.rs
+++ b/src/garage/cli/cmd.rs
@@ -44,6 +44,9 @@ pub async fn cli_command_dispatch(
Command::Block(bo) => {
cmd_admin(admin_rpc_endpoint, rpc_host, AdminRpc::BlockOperation(bo)).await
}
+ Command::Meta(mo) => {
+ cmd_admin(admin_rpc_endpoint, rpc_host, AdminRpc::MetaOperation(mo)).await
+ }
_ => unreachable!(),
}
}