From d72147912295543d6feb07cb0f2ce125067ed0fc Mon Sep 17 00:00:00 2001 From: Frikky Date: Fri, 29 Aug 2025 14:16:26 +0200 Subject: [PATCH] Minor tweaks for cloud & onprem execs --- functions/onprem/orborus/orborus.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/functions/onprem/orborus/orborus.go b/functions/onprem/orborus/orborus.go index 6b523025..50675aed 100755 --- a/functions/onprem/orborus/orborus.go +++ b/functions/onprem/orborus/orborus.go @@ -4038,7 +4038,11 @@ func sendWorkerRequest(workflowExecution shuffle.ExecutionRequest, image string, log.Printf("[WARNING] POTENTIAL error running worker request (2) - status code is %d for %s, not 200. Body: %s", newresp.StatusCode, streamUrl, string(body)) // In case of old executions - if strings.Contains(string(body), "Bad status ") { + if strings.Contains(strings.ToLower(string(body)), "bad status ") { + return nil + } + + if strings.Contains(strings.ToLower(string(body)), "no apps to handle") { return nil }