Skip to content

Commit

Permalink
fix boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
strangiato committed May 30, 2024
1 parent 5333568 commit 030257a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
health_status.status = "Healthy"
msg = "InferenceService is healthy."
elseif degraded == false and status_unknown >= 0 then
msg = msg .. " || unknown: " .. status_unknown .. " || false: " .. status_false .. " || degraded: " .. degraded .. " || progressing: " .. progressing
msg = msg .. " || unknown: " .. status_unknown .. " || false: " .. status_false .. " || degraded: " .. tostring(degraded) .. " || progressing: " .. tostring(progressing)
health_status.status = "Progressing"
else
msg = msg .. " || unknown: " .. status_unknown .. " || false: " .. status_false .. " || degraded: " .. degraded .. " || progressing: " .. progressing
msg = msg .. " || unknown: " .. status_unknown .. " || false: " .. status_false .. " || degraded: " .. tostring(degraded) .. " || progressing: " .. tostring(progressing)
health_status.status = "Degraded"
end
Expand Down

0 comments on commit 030257a

Please sign in to comment.