mirror of
https://github.com/datarhei/core.git
synced 2025-09-26 20:11:29 +08:00
Fix maintaining the metadata on process config update (datarhei/restreamer#698)
This commit is contained in:
@@ -897,6 +897,9 @@ func (r *restream) UpdateProcess(id string, config *app.Config) error {
|
||||
t.process.UpdatedAt = time.Now().Unix()
|
||||
task.parser.TransferReportHistory(t.parser)
|
||||
|
||||
// Transfer the metadata to the new process
|
||||
t.metadata = task.metadata
|
||||
|
||||
r.tasks[t.id] = t
|
||||
|
||||
// set filesystem cleanup rules
|
||||
|
Reference in New Issue
Block a user