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 104d4675..7eda6e6b 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 @@ -25,8 +25,6 @@ status_false = 0 status_unknown = 0 - - if condition.status == "Unknown" then status_unknown = status_unknown + 1 elseif condition.status == "False" then @@ -36,10 +34,10 @@ if condition.status ~= "True" then msg = msg .. i .. ": " .. condition.type .. " | " .. condition.status if condition.reason ~= nil and condition.reason ~= "" then - msg = msg .. " | " condition.reason + msg = msg .. " | " .. condition.reason end if condition.message ~= nil and condition.message ~= "" then - msg = msg .. " | " condition.message + msg = msg .. " | " .. condition.message end msg = msg .. "\n" end