1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-14 23:33:18 +00:00

Removed a redundant call to manager.chunkOperator.Resurrect

This commit is contained in:
Gilbert Chen
2018-08-03 11:32:24 -04:00
parent 8ae7d2a97d
commit f304b64b3f

View File

@@ -1518,7 +1518,6 @@ func (manager *SnapshotManager) fossilizeChunk(chunkID string, filePath string,
// resurrectChunk turns the fossil back into a chunk
func (manager *SnapshotManager) resurrectChunk(fossilPath string, chunkID string) bool {
manager.chunkOperator.Resurrect(chunkID, fossilPath)
chunkPath, exist, _, err := manager.storage.FindChunk(0, chunkID, false)
if err != nil {
LOG_ERROR("CHUNK_FIND", "Failed to locate the path for the chunk %s: %v", chunkID, err)