aboutsummaryrefslogtreecommitdiff
path: root/src/model/s3
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2023-03-13 18:34:33 +0000
committerAlex <alex@adnab.me>2023-03-13 18:34:33 +0000
commit703ac43f1c7c0538ac72a06afc16ad182c3aaba1 (patch)
tree7ae124a8b7165edab933bc9649baf9c126e95c92 /src/model/s3
parentd6ffa57f4054c41c37a06686330e0080f8243430 (diff)
parent000006d689d2d8075599fbe1653605566ae9d36e (diff)
downloadgarage-703ac43f1c7c0538ac72a06afc16ad182c3aaba1.tar.gz
garage-703ac43f1c7c0538ac72a06afc16ad182c3aaba1.zip
Merge pull request 'Prepare for v0.8.2' (#530) from prepare-v082 into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/530
Diffstat (limited to 'src/model/s3')
-rw-r--r--src/model/s3/object_table.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/model/s3/object_table.rs b/src/model/s3/object_table.rs
index 29614dc5..518acc95 100644
--- a/src/model/s3/object_table.rs
+++ b/src/model/s3/object_table.rs
@@ -355,7 +355,6 @@ impl CountedItem for Object {
fn counts(&self) -> Vec<(&'static str, i64)> {
let versions = self.versions();
- #[allow(clippy::bool_to_int_with_if)]
let n_objects = if versions.iter().any(|v| v.is_data()) {
1
} else {