From 0910c08ee0e894045077b81aa6546f0f2c37b33f Mon Sep 17 00:00:00 2001 From: Pascal Sthamer <10992664+P4sca1@users.noreply.github.com> Date: Fri, 25 Oct 2024 10:59:18 +0200 Subject: [PATCH] Do not try to close dockercli in Kubernetes --- 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() }