vmc-ng/lib/vmc/cli/app.rb in vmc-0.4.0.beta.83 vs vmc-ng/lib/vmc/cli/app.rb in vmc-0.4.0.beta.84
- old
+ new
@@ -1088,10 +1088,10 @@
:warning
end
end
def app_status(a)
- health = v2? ? a.status : a.health
+ health = v2? ? a.state : a.health
if a.debug_mode == "suspend" && health == "0%"
c("suspended", :neutral)
else
c(health.downcase, state_color(health))