From 24aa98478025a5aa37053f659e4ccf18acbd3d14 Mon Sep 17 00:00:00 2001 From: Aditya <60684641+0x0elliot@users.noreply.github.com> Date: Tue, 29 Oct 2024 17:32:39 +0530 Subject: [PATCH] Revert "Fix worker panic" --- functions/onprem/worker/worker.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions/onprem/worker/worker.go b/functions/onprem/worker/worker.go index d652c1f9..d5e52cd8 100644 --- a/functions/onprem/worker/worker.go +++ b/functions/onprem/worker/worker.go @@ -1301,6 +1301,9 @@ func handleExecutionResult(workflowExecution shuffle.WorkflowExecution) { log.Printf("[ERROR] Unable to create docker client (3): %s", err) return } + } + + if isKubernetes == "true" { defer dockercli.Close() }