Skip to content

Commit

Permalink
fix setting 'recordDeleteAfter' to zero (#2670)
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 committed Nov 10, 2023
1 parent fb585b5 commit 57679c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/core/core.go
Original file line number Diff line number Diff line change
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 57679c8

Please sign in to comment.