Skip to content

Commit

Permalink
fix setting 'recordDeleteAfter' to zero (#2670) (#2671)
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 committed Nov 10, 2023
1 parent fb585b5 commit ef19552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/core/core.go
Expand Up @@ -38,7 +38,7 @@ func gatherCleanerEntries(paths map[string]*conf.Path) []record.CleanerEntry {
out := make(map[record.CleanerEntry]struct{})

for _, pa := range paths {
if pa.Record {
if pa.Record && pa.RecordDeleteAfter != 0 {
entry := record.CleanerEntry{
RecordPath: pa.RecordPath,
RecordFormat: pa.RecordFormat,
Expand Down

0 comments on commit ef19552

Please sign in to comment.