From 80b218b997edd48da08b08fe702bc8b11f79d167 Mon Sep 17 00:00:00 2001 From: Trevor Royer Date: Thu, 30 May 2024 17:31:38 -0600 Subject: [PATCH] skip uptodate --- .../patch-inferenceservice-health-check.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 324ba4e3..bc6543f6 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 @@ -18,14 +18,14 @@ msg = "" if obj.modelStatus ~= nil then - -- if obj.modelStatus.transitionStatus ~= "UpToDate" then - if obj.modelStatus.transitionStatus == "InProgress" then - progressing = true - else - degraded = true - end - msg = msg .. "0: transitionStatus | " .. obj.modelStatus.transitionStatus .. "\n" + -- if obj.modelStatus.transitionStatus == "UpToDate" then + if obj.modelStatus.transitionStatus == "InProgress" then + progressing = true + else + degraded = true + end -- end + msg = msg .. "0: transitionStatus | " .. obj.modelStatus.transitionStatus .. "\n" end if obj.status.conditions ~= nil then