From f304b64b3f607a61bdda9e3ece74fe6b022fb6ec Mon Sep 17 00:00:00 2001 From: Gilbert Chen Date: Fri, 3 Aug 2018 11:32:24 -0400 Subject: [PATCH] Removed a redundant call to manager.chunkOperator.Resurrect --- src/duplicacy_snapshotmanager.go | 1 - 1 file changed, 1 deletion(-) diff --git a/src/duplicacy_snapshotmanager.go b/src/duplicacy_snapshotmanager.go index 365f8f1..19774c2 100644 --- a/src/duplicacy_snapshotmanager.go +++ b/src/duplicacy_snapshotmanager.go @@ -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)