diff options
author | Alex Auvolat <alex@adnab.me> | 2020-04-23 18:36:12 +0000 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-04-23 18:36:12 +0000 |
commit | 4ef84a0558c0bf6641094e762ede0c962781204d (patch) | |
tree | 8e6014ee12541c7085b371e99941c5c3da53f2b0 /src/store/key_table.rs | |
parent | 44a1089d9569b442c098c2ceebb3f691816e52d2 (diff) | |
download | garage-4ef84a0558c0bf6641094e762ede0c962781204d.tar.gz garage-4ef84a0558c0bf6641094e762ede0c962781204d.zip |
Move repair to separate file
Diffstat (limited to 'src/store/key_table.rs')
-rw-r--r-- | src/store/key_table.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/store/key_table.rs b/src/store/key_table.rs index 7476622f..6c3f96d6 100644 --- a/src/store/key_table.rs +++ b/src/store/key_table.rs @@ -30,7 +30,8 @@ impl Key { authorized_buckets: vec![], }; for b in buckets { - ret.add_bucket(b); + ret.add_bucket(b) + .expect("Duplicate AllowedBucket in Key constructor"); } ret } |