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() }