mirror of
https://github.com/gilbertchen/duplicacy
synced 2025-12-11 13:53:16 +00:00
Retention policy erroneously apply to snapshots without the specified tags
This commit is contained in:
@@ -1865,7 +1865,7 @@ func (manager *SnapshotManager) PruneSnapshots(selfID string, snapshotID string,
|
||||
}
|
||||
|
||||
if len(tagMap) > 0 {
|
||||
if _, found := tagMap[snapshot.Tag]; found {
|
||||
if _, found := tagMap[snapshot.Tag]; !found {
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user