mirror of
https://github.com/rustic-rs/rustic.git
synced 2025-10-26 11:18:51 +00:00
Fix some ProgressBars
This commit is contained in:
parent
999c18d61c
commit
d6dd52b520
@ -55,7 +55,6 @@ pub trait DecryptReadBackend: ReadBackend {
|
||||
})
|
||||
})
|
||||
.collect();
|
||||
|
||||
Ok(stream)
|
||||
}
|
||||
}
|
||||
|
||||
@ -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()))
|
||||
}
|
||||
|
||||
@ -205,7 +205,7 @@ impl SnapshotFile {
|
||||
}
|
||||
}
|
||||
}
|
||||
p.finish_with_message("done.");
|
||||
p.finish();
|
||||
latest.ok_or_else(|| anyhow!("no snapshots found"))
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user