diff options
author | Alex Auvolat <alex@adnab.me> | 2020-11-20 20:11:04 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-11-20 20:11:04 +0100 |
commit | e9fd265ce6d326425994ccfea9d5afc7165460db (patch) | |
tree | 9dce56810d812d6b3293e20776b58bda91c05182 /src/api/s3_list.rs | |
parent | b9e6b007a317bf307b209cf01667fa207d62b67d (diff) | |
download | garage-e9fd265ce6d326425994ccfea9d5afc7165460db.tar.gz garage-e9fd265ce6d326425994ccfea9d5afc7165460db.zip |
Slight refactoring to make things clearer with DeletedFilter
Diffstat (limited to 'src/api/s3_list.rs')
-rw-r--r-- | src/api/s3_list.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/api/s3_list.rs b/src/api/s3_list.rs index f2b49a1d..3b739a8a 100644 --- a/src/api/s3_list.rs +++ b/src/api/s3_list.rs @@ -10,6 +10,8 @@ use garage_util::error::Error; use garage_model::garage::Garage; use garage_model::object_table::*; +use garage_table::DeletedFilter; + use crate::encoding::*; #[derive(Debug)] @@ -41,7 +43,7 @@ pub async fn handle_list( .get_range( &bucket.to_string(), Some(next_chunk_start.clone()), - Some(()), + Some(DeletedFilter::NotDeleted), max_keys + 1, ) .await?; |