From 70ffb805b4a18e3a0e6ca0b9817768f5e06f7286 Mon Sep 17 00:00:00 2001 From: Ingo Oppermann Date: Tue, 3 Sep 2024 16:39:19 +0200 Subject: [PATCH] Fix returning original config --- restream/task.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/restream/task.go b/restream/task.go index 611702ef..3073b506 100644 --- a/restream/task.go +++ b/restream/task.go @@ -448,11 +448,11 @@ func (t *task) Config() *app.Config { token := t.lock.RLock() defer t.lock.RUnlock(token) - if t.config == nil { + if t.process == nil { return nil } - return t.config.Clone() + return t.process.Config.Clone() } func (t *task) Destroy() {