diff --git a/src/backend/decrypt.rs b/src/backend/decrypt.rs index 517ff46..d789814 100644 --- a/src/backend/decrypt.rs +++ b/src/backend/decrypt.rs @@ -55,7 +55,6 @@ pub trait DecryptReadBackend: ReadBackend { }) }) .collect(); - Ok(stream) } } diff --git a/src/index/mod.rs b/src/index/mod.rs index 73a49dd..8b13055 100644 --- a/src/index/mod.rs +++ b/src/index/mod.rs @@ -103,7 +103,7 @@ impl IndexBackend { 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())) } diff --git a/src/repo/snapshotfile.rs b/src/repo/snapshotfile.rs index 8be5cc0..ca1c826 100644 --- a/src/repo/snapshotfile.rs +++ b/src/repo/snapshotfile.rs @@ -205,7 +205,7 @@ impl SnapshotFile { } } } - p.finish_with_message("done."); + p.finish(); latest.ok_or_else(|| anyhow!("no snapshots found")) }