From cb22c2bb2e29cc29b015ac9c914a6c99513e3097 Mon Sep 17 00:00:00 2001 From: Ingo Oppermann Date: Thu, 25 May 2023 16:31:44 +0200 Subject: [PATCH] Fix forward call for updating a process --- cluster/forwarder/forwarder.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cluster/forwarder/forwarder.go b/cluster/forwarder/forwarder.go index a314bcb4..a128d30d 100644 --- a/cluster/forwarder/forwarder.go +++ b/cluster/forwarder/forwarder.go @@ -157,7 +157,11 @@ func (f *forwarder) UpdateProcess(origin, id string, config *app.Config) error { origin = f.id } - r := apiclient.UpdateProcessRequest{} + r := apiclient.UpdateProcessRequest{ + Origin: origin, + ID: id, + Config: *config, + } f.lock.RLock() client := f.client