Fix some ProgressBars

This commit is contained in:
Alexander Weiss 2022-05-09 23:45:40 +02:00
parent 999c18d61c
commit d6dd52b520
3 changed files with 2 additions and 3 deletions

View File

@ -55,7 +55,6 @@ pub trait DecryptReadBackend: ReadBackend {
})
})
.collect();
Ok(stream)
}
}

View File

@ -103,7 +103,7 @@ impl<BE: DecryptReadBackend> IndexBackend<BE> {
while let Some(index) = stream.next().await {
collector.extend(index.packs);
}
p.finish_with_message("done");
p.finish();
Ok(Self::new_from_index(be, collector.into_index()))
}

View File

@ -205,7 +205,7 @@ impl SnapshotFile {
}
}
}
p.finish_with_message("done.");
p.finish();
latest.ok_or_else(|| anyhow!("no snapshots found"))
}