fix: don't return if listing fails

This commit is contained in:
yashsinghcodes
2026-01-14 17:53:00 +05:30
parent bdf181616a
commit 99735636c4
-1
View File
@@ -1453,7 +1453,6 @@ func deployK8sWorker(image string, identifier string, env []string) error {
}) })
if err != nil { if err != nil {
log.Printf("[ERROR] Failed listing existing deployments: %v", err) log.Printf("[ERROR] Failed listing existing deployments: %v", err)
return err
} }
if len(existing.Items) > 0 { if len(existing.Items) > 0 {