Fix forward call for updating a process

This commit is contained in:
Ingo Oppermann 2023-05-25 16:31:44 +02:00
parent e9034aa171
commit cb22c2bb2e
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E

View File

@ -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