Skip to content

Commit

Permalink
add transitionstatus message
Browse files Browse the repository at this point in the history
  • Loading branch information
strangiato committed May 30, 2024
1 parent b768a26 commit e0e7618
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,18 @@
local progressing = false
local status_false = 0
local status_unknown = 0
msg = ""
if obj.modelStatus ~= nil then
if obj.modelStatus.transitionStatus == "InProgress" then
progressing = true
if obj.modelStatus.transitionStatus ~= "UpToDate" then
if obj.modelStatus.transitionStatus == "InProgress" then
progressing = true
end
msg = msg .. "0: transitionStatus | " .. obj.modelStatus.transitionStatus .. "\n"
end
end

Check failure on line 27 in components/operators/openshift-gitops/instance/components/health-check-openshift-ai/patch-inferenceservice-health-check.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

27:1 [trailing-spaces] trailing spaces
if obj.status.conditions ~= nil then
msg = ""
for i, condition in pairs(obj.status.conditions) do
if condition.status == "Unknown" then
Expand Down

0 comments on commit e0e7618

Please sign in to comment.