[PATCH] suricatta/wfx: Fix URL for updating the job definition from wfx

11 views
Skip to first unread message

Christian Storm

unread,
Jul 24, 2026, 1:17:17 PMJul 24
to swup...@googlegroups.com
The correct URL is /api/wfx/v1/jobs/{id}/definition

Signed-off-by: Christian Storm <christi...@siemens.com>
---
suricatta/server_wfx.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/suricatta/server_wfx.lua b/suricatta/server_wfx.lua
index b50029b9..8cfd980b 100644
--- a/suricatta/server_wfx.lua
+++ b/suricatta/server_wfx.lua
@@ -1111,7 +1111,7 @@ function M.job.definition:update(chan)
chan = chan or M.channel.main
M.utils.do_retry(math.huge, chan.options.retry_sleep, function()
local res, _, data = chan.get {
- url = ("%s/job/%s/definition"):format(chan.options.url, self.meta.id),
+ url = ("%s/jobs/%s/definition"):format(chan.options.url, self.meta.id),
}
if not res then
suricatta.notify.warn("Got HTTP error code %d from server.", data.http_response_code)
--
2.55.0

Stefano Babic

unread,
Aug 10, 2026, 4:05:32 AMAug 10
to Christian Storm, swup...@googlegroups.com
Applied to -master, thanks !

Best regards,
Stefano

--
_______________________________________________________________________
Nabla Software Engineering GmbH
Hirschstr. 111A | 86156 Augsburg | Tel: +49 821 45592596
Geschäftsführer : Stefano Babic | HRB 40522 Augsburg
E-Mail: sba...@nabladev.com

Reply all
Reply to author
Forward
0 new messages