aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-06-10 11:08:23 +0200
committerAlex Auvolat <alex@adnab.me>2022-06-10 11:08:23 +0200
commite6ce8702d452bf12929c7f5bc022ecde9ed56f21 (patch)
tree7e6542c494ed9454eaf474637e3a60aa3e864797 /src/garage/cli
parent6ae8bbeb133677af3e44e480dd465fa33c6017be (diff)
downloadgarage-e6ce8702d452bf12929c7f5bc022ecde9ed56f21.tar.gz
garage-e6ce8702d452bf12929c7f5bc022ecde9ed56f21.zip
change k2v-only code
Diffstat (limited to 'src/garage/cli')
-rw-r--r--src/garage/cli/structs.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/garage/cli/structs.rs b/src/garage/cli/structs.rs
index 28228b07..4f2efe19 100644
--- a/src/garage/cli/structs.rs
+++ b/src/garage/cli/structs.rs
@@ -442,6 +442,7 @@ pub struct OfflineRepairOpt {
#[derive(Serialize, Deserialize, StructOpt, Debug, Eq, PartialEq, Clone)]
pub enum OfflineRepairWhat {
/// Repair K2V item counters
+ #[cfg(feature = "k2v")]
#[structopt(name = "k2v_item_counters")]
K2VItemCounters,
/// Repair object counters