diff options
author | Alex Auvolat <alex@adnab.me> | 2023-08-30 14:28:48 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-08-30 14:29:03 +0200 |
commit | 2996dc875fc378ec3597bfa3bdb8ba8951e1865c (patch) | |
tree | 16c5ab74ee56de7e944691abbeb291976bcd9db2 /src/api/s3/lifecycle.rs | |
parent | a2e0e34db57b326ad5c9e7c9218fb9e29900e705 (diff) | |
download | garage-2996dc875fc378ec3597bfa3bdb8ba8951e1865c.tar.gz garage-2996dc875fc378ec3597bfa3bdb8ba8951e1865c.zip |
lifecycle worker: implement main functionality
Diffstat (limited to 'src/api/s3/lifecycle.rs')
-rw-r--r-- | src/api/s3/lifecycle.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/s3/lifecycle.rs b/src/api/s3/lifecycle.rs index 278cf26d..2d621eac 100644 --- a/src/api/s3/lifecycle.rs +++ b/src/api/s3/lifecycle.rs @@ -239,8 +239,8 @@ impl Filter { fn internal_into_garage_lifecycle_filter(self) -> GarageLifecycleFilter { GarageLifecycleFilter { prefix: self.prefix.map(|x| x.0), - size_gt: self.size_gt.map(|x| x.0 as usize), - size_lt: self.size_lt.map(|x| x.0 as usize), + size_gt: self.size_gt.map(|x| x.0 as u64), + size_lt: self.size_lt.map(|x| x.0 as u64), } } |