Big whoops
This commit is contained in:
parent
92d912faef
commit
5de641700f
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue