mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
* chore(action): add newlines at eof Signed-off-by: Josh Soref <[email protected]> * chore(action): fix whitespace indentation Signed-off-by: Josh Soref <[email protected]> * chore(action): use local annotations Signed-off-by: Josh Soref <[email protected]> --------- Signed-off-by: Josh Soref <[email protected]>
20 lines
450 B
Lua
20 lines
450 B
Lua
local hs = {}
|
|
if obj.status ~= nil then
|
|
if obj.status.phase ~= nil then
|
|
if obj.status.phase == "RUNNING" then
|
|
hs.status = "Healthy"
|
|
hs.message = "ControlCenter running"
|
|
return hs
|
|
end
|
|
if obj.status.phase == "PROVISIONING" then
|
|
hs.status = "Progressing"
|
|
hs.message = "ControlCenter provisioning"
|
|
return hs
|
|
end
|
|
end
|
|
end
|
|
|
|
hs.status = "Progressing"
|
|
hs.message = "Waiting for ControlCenter"
|
|
return hs
|