diff --git a/src/model/s3/object_table.rs b/src/model/s3/object_table.rs index f3c8a3fb..a3914c36 100644 --- a/src/model/s3/object_table.rs +++ b/src/model/s3/object_table.rs @@ -317,9 +317,9 @@ impl CountedItem for Object { fn counts(&self) -> Vec<(&'static str, i64)> { let versions = self.versions(); let n_objects = if versions.iter().any(|v| v.is_data()) { - 0 - } else { 1 + } else { + 0 }; let n_unfinished_uploads = versions .iter()