Fix correct output of purge_on_delete value
This commit is contained in:
parent
e675eccd50
commit
6ee565b3c9
@ -175,9 +175,10 @@ func (cfg *ProcessConfig) Unmarshal(c *app.Config) {
|
||||
|
||||
for _, c := range x.Cleanup {
|
||||
io.Cleanup = append(io.Cleanup, ProcessConfigIOCleanup{
|
||||
Pattern: c.Pattern,
|
||||
MaxFiles: c.MaxFiles,
|
||||
MaxFileAge: c.MaxFileAge,
|
||||
Pattern: c.Pattern,
|
||||
MaxFiles: c.MaxFiles,
|
||||
MaxFileAge: c.MaxFileAge,
|
||||
PurgeOnDelete: c.PurgeOnDelete,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user