From fd82941caa73d9c80fb4f455366c3e4026eab683 Mon Sep 17 00:00:00 2001 From: Aditya <60684641+0x0elliot@users.noreply.github.com> Date: Mon, 4 Nov 2024 12:55:37 +0530 Subject: [PATCH] fix: typo in variable --- functions/onprem/worker/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/onprem/worker/worker.go b/functions/onprem/worker/worker.go index a0452b4e..e4821486 100644 --- a/functions/onprem/worker/worker.go +++ b/functions/onprem/worker/worker.go @@ -439,7 +439,7 @@ func deployk8sApp(image string, identifier string, env []string) error { // Checking if app is generated or not if !baseDeployMode && !autoDeployOverride { - localRegistry := os.Getenv("REGISTRY_URL") + localRegistry = os.Getenv("REGISTRY_URL") } else { log.Printf("[DEBUG] Detected baseDeploy image (%s) and dockerhub override. Resorting to using dockerhub instead of registry", image) }