From 9295991f56f1ab72b3f8481068f21cd35dda0eed Mon Sep 17 00:00:00 2001 From: yashsinghcodes Date: Wed, 21 Jan 2026 19:25:22 +0530 Subject: [PATCH] worker changed return value in deployk8s app --- 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 2e36c728..2f57954b 100644 --- a/functions/onprem/worker/worker.go +++ b/functions/onprem/worker/worker.go @@ -638,7 +638,7 @@ func deployk8sApp(image string, identifier string, env []string) error { if len(existing.Items) > 0 { log.Printf("[INFO] Found existing deployments, skipping creation") - return errors.New("Found existing deployment") + return nil } replicaNumberInt32 := int32(replicaNumber)