Big whoops
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Alex 2022-06-10 11:39:16 +02:00
parent 92d912faef
commit 5de641700f
Signed by: lx
GPG key ID: 0E496D15096376BE

View file

@ -317,9 +317,9 @@ impl CountedItem for Object {
fn counts(&self) -> Vec<(&'static str, i64)> { fn counts(&self) -> Vec<(&'static str, i64)> {
let versions = self.versions(); let versions = self.versions();
let n_objects = if versions.iter().any(|v| v.is_data()) { let n_objects = if versions.iter().any(|v| v.is_data()) {
0
} else {
1 1
} else {
0
}; };
let n_unfinished_uploads = versions let n_unfinished_uploads = versions
.iter() .iter()