mirror of
https://github.com/jkl1337/duplicacy.git
synced 2026-01-02 19:54:54 -06: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