aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/garage/admin_rpc.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/garage/admin_rpc.rs b/src/garage/admin_rpc.rs
index 39dc0ed8..e1981e3a 100644
--- a/src/garage/admin_rpc.rs
+++ b/src/garage/admin_rpc.rs
@@ -175,9 +175,7 @@ impl AdminRpcHandler {
Ok(AdminRPC::Ok(msg.to_string()))
} else {
- return Err(Error::Message(format!(
- "Bucket is deleted in update_bucket_key"
- )));
+ unreachable!();
}
}
}