mirror of
https://github.com/datarhei/core.git
synced 2025-10-05 16:07:07 +08:00
Fix correct output of purge_on_delete value
This commit is contained in:
@@ -175,9 +175,10 @@ func (cfg *ProcessConfig) Unmarshal(c *app.Config) {
|
|||||||
|
|
||||||
for _, c := range x.Cleanup {
|
for _, c := range x.Cleanup {
|
||||||
io.Cleanup = append(io.Cleanup, ProcessConfigIOCleanup{
|
io.Cleanup = append(io.Cleanup, ProcessConfigIOCleanup{
|
||||||
Pattern: c.Pattern,
|
Pattern: c.Pattern,
|
||||||
MaxFiles: c.MaxFiles,
|
MaxFiles: c.MaxFiles,
|
||||||
MaxFileAge: c.MaxFileAge,
|
MaxFileAge: c.MaxFileAge,
|
||||||
|
PurgeOnDelete: c.PurgeOnDelete,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user