Skip to content

Commit

Permalink
fix comparison operator'
Browse files Browse the repository at this point in the history
  • Loading branch information
strangiato committed May 30, 2024
1 parent 030257a commit c20351e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
if progressing == false and degraded == false and status_unknown == 0 and status_false == 0 then
health_status.status = "Healthy"
msg = "InferenceService is healthy."
elseif degraded == false and status_unknown >= 0 then
elseif degraded == false and status_unknown > 0 then
msg = msg .. " || unknown: " .. status_unknown .. " || false: " .. status_false .. " || degraded: " .. tostring(degraded) .. " || progressing: " .. tostring(progressing)
health_status.status = "Progressing"
else
Expand Down

0 comments on commit c20351e

Please sign in to comment.