mirror of
https://github.com/gilbertchen/duplicacy
synced 2025-12-18 01:03:25 +00:00
Removed a redundant call to manager.chunkOperator.Resurrect
This commit is contained in:
@@ -1518,7 +1518,6 @@ func (manager *SnapshotManager) fossilizeChunk(chunkID string, filePath string,
|
|||||||
|
|
||||||
// resurrectChunk turns the fossil back into a chunk
|
// resurrectChunk turns the fossil back into a chunk
|
||||||
func (manager *SnapshotManager) resurrectChunk(fossilPath string, chunkID string) bool {
|
func (manager *SnapshotManager) resurrectChunk(fossilPath string, chunkID string) bool {
|
||||||
manager.chunkOperator.Resurrect(chunkID, fossilPath)
|
|
||||||
chunkPath, exist, _, err := manager.storage.FindChunk(0, chunkID, false)
|
chunkPath, exist, _, err := manager.storage.FindChunk(0, chunkID, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
LOG_ERROR("CHUNK_FIND", "Failed to locate the path for the chunk %s: %v", chunkID, err)
|
LOG_ERROR("CHUNK_FIND", "Failed to locate the path for the chunk %s: %v", chunkID, err)
|
||||||
|
|||||||
Reference in New Issue
Block a user