From 0ac4c0696a751443e5c0e912616d1f879f779d72 Mon Sep 17 00:00:00 2001 From: Trevor Royer Date: Wed, 29 May 2024 17:48:00 -0600 Subject: [PATCH] fix comparison --- .../patch-inferenceservice-health-check.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/operators/openshift-gitops/instance/components/health-check-openshift-ai/patch-inferenceservice-health-check.yaml b/components/operators/openshift-gitops/instance/components/health-check-openshift-ai/patch-inferenceservice-health-check.yaml index cdd1f5b3..92845c4a 100644 --- a/components/operators/openshift-gitops/instance/components/health-check-openshift-ai/patch-inferenceservice-health-check.yaml +++ b/components/operators/openshift-gitops/instance/components/health-check-openshift-ai/patch-inferenceservice-health-check.yaml @@ -16,7 +16,7 @@ progressing = true msg = msg .. i .. ": " .. condition.type .. " | " .. condition.status .. " | " .. condition.reason .. " | " .. condition.message .. "\n" elseif condition.status == "False" then - if condition.type = "LatestDeploymentReady" then + if condition.type == "LatestDeploymentReady" then progressing = true else degraded = true