From dd48440d98069168652ecf3756ca0fbaf291809d Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Sun, 17 May 2015 01:39:05 -0700 Subject: [PATCH] api: "Host Down" instead of "Pending" as a status Signed-off-by: Andrea Luzzardi --- api/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/handlers.go b/api/handlers.go index 0322d3f50b..019aa0f19a 100644 --- a/api/handlers.go +++ b/api/handlers.go @@ -233,7 +233,7 @@ func getContainersJSON(c *context, w http.ResponseWriter, r *http.Request) { // `Status()` will generate a new one tmp.Status = container.Info.State.String() if !container.Engine.IsHealthy() { - tmp.Status = "Pending" + tmp.Status = "Host Down" } // Overwrite labels with the ones we have in the config.