Fix correct output of purge_on_delete value
This commit is contained in:
parent
e675eccd50
commit
6ee565b3c9
1 changed files with 4 additions and 3 deletions
|
|
@ -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…
Reference in a new issue