1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 16:26:29 +00:00

remove csize expectation from do_transfer upgrade_item

the size is already remove via Item._update_internal method.
This commit is contained in:
Thomas Waldmann 2022-06-12 17:50:12 +02:00
parent 822aefc7b0
commit 75ad3b8e35

View file

@ -361,7 +361,7 @@ def upgrade_item(item):
chunks, chunks_healthy = hlm.retrieve(id=hlid, default=(None, None))
if chunks is not None:
item._dict['chunks'] = chunks
for chunk_id, _, _ in chunks:
for chunk_id, _ in chunks:
cache.chunk_incref(chunk_id, archive.stats)
if chunks_healthy is not None:
item._dict['chunks_healthy'] = chunks