1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-06 00:03:38 +00:00

Update duplicacy_snapshotmanager.go

This commit is contained in:
countextreme
2017-08-28 13:16:33 -04:00
committed by GitHub
parent 204f56e939
commit 0c8a88d15a

View File

@@ -664,7 +664,7 @@ func (manager *SnapshotManager) ListSnapshots(snapshotID string, revisionsToList
if snapshotID == "" {
snapshotIDs, err = manager.ListSnapshotIDs()
if err != nil {
LOG_ERROR("SNAPSHOT_LIST", "Failed to list all snpashots: %v", err)
LOG_ERROR("SNAPSHOT_LIST", "Failed to list all snapshots: %v", err)
return 0
}
} else {
@@ -787,7 +787,7 @@ func (manager *SnapshotManager) CheckSnapshots(snapshotID string, revisionsToChe
if snapshotID == "" || showStatistics {
snapshotIDs, err := manager.ListSnapshotIDs()
if err != nil {
LOG_ERROR("SNAPSHOT_LIST", "Failed to list all snpashots: %v", err)
LOG_ERROR("SNAPSHOT_LIST", "Failed to list all snapshots: %v", err)
return false
}
@@ -1596,7 +1596,7 @@ func (manager *SnapshotManager) PruneSnapshots(selfID string, snapshotID string,
// because we need to find out which chunks are not referenced.
snapshotIDs, err := manager.ListSnapshotIDs()
if err != nil {
LOG_ERROR("SNAPSHOT_LIST", "Failed to list all snpashots: %v", err)
LOG_ERROR("SNAPSHOT_LIST", "Failed to list all snapshots: %v", err)
return false
}