tape: write_chunk_archive - do not consume partially written chunk at EOT

So that it is re-written to the next tape.
This commit is contained in:
Dietmar Maurer
2021-03-11 12:59:57 +01:00
parent 355a41a763
commit e8913fea12
2 changed files with 8 additions and 4 deletions

View File

@ -96,7 +96,6 @@ impl SnapshotReader {
/// Note: The iterator returns a `Result`, and the iterator state is
/// undefined after the first error. So it make no sense to continue
/// iteration after the first error.
#[derive(Clone)]
pub struct SnapshotChunkIterator<'a> {
snapshot_reader: &'a SnapshotReader,
todo_list: Vec<String>,