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