diff options
author | Alex Auvolat <alex@adnab.me> | 2023-09-18 11:57:36 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-09-18 11:59:08 +0200 |
commit | 015ccb39aa511c72d0c899713a828491871da3e7 (patch) | |
tree | 4160c9170a0073c9b6f0f6415632ddf2cc1cc1ca /src/garage/cli/structs.rs | |
parent | 2e229d44303bfafa22aaf0d4aa299021a937220e (diff) | |
download | garage-015ccb39aa511c72d0c899713a828491871da3e7.tar.gz garage-015ccb39aa511c72d0c899713a828491871da3e7.zip |
new layout: make zone_redundancy optionnal (if not set, is maximum)
Diffstat (limited to 'src/garage/cli/structs.rs')
-rw-r--r-- | src/garage/cli/structs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/garage/cli/structs.rs b/src/garage/cli/structs.rs index fd37a24e..c4ebeb1a 100644 --- a/src/garage/cli/structs.rs +++ b/src/garage/cli/structs.rs @@ -143,9 +143,9 @@ pub struct RemoveRoleOpt { #[derive(StructOpt, Debug)] pub struct ConfigLayoutOpt { - /// Zone redundancy parameter + /// Zone redundancy parameter ('none'/'max' or integer) #[structopt(short = "r", long = "redundancy")] - pub(crate) redundancy: Option<usize>, + pub(crate) redundancy: Option<String>, } #[derive(StructOpt, Debug)] |