diff options
author | Alex Auvolat <alex@adnab.me> | 2023-08-29 18:22:03 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-08-29 18:22:03 +0200 |
commit | abf011c2906d04200bb39d7bc82f7ed973215500 (patch) | |
tree | d881ca50b64d229198b8e9da552d70392d26706b /src/model/bucket_table.rs | |
parent | 8041d9a8274619b9a7cb66735ed560bcfba16078 (diff) | |
download | garage-abf011c2906d04200bb39d7bc82f7ed973215500.tar.gz garage-abf011c2906d04200bb39d7bc82f7ed973215500.zip |
lifecycle: implement validation into garage's internal data structure
Diffstat (limited to 'src/model/bucket_table.rs')
-rw-r--r-- | src/model/bucket_table.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/bucket_table.rs b/src/model/bucket_table.rs index dc4e4509..fed20e05 100644 --- a/src/model/bucket_table.rs +++ b/src/model/bucket_table.rs @@ -90,7 +90,7 @@ mod v08 { /// A lifecycle filter is a set of conditions that must all be true. /// For each condition, if it is None, it is not verified (always true), /// and if it is Some(x), then it is verified for value x - #[derive(PartialEq, Eq, Clone, Debug, Serialize, Deserialize)] + #[derive(PartialEq, Eq, Clone, Debug, Serialize, Deserialize, Default)] pub struct LifecycleFilter { /// If Some(x), object key has to start with prefix x pub prefix: Option<String>, |