From 53e0c5012637656de1765c330b2549aa7088b853 Mon Sep 17 00:00:00 2001 From: Ziheng Liu Date: Mon, 29 Jul 2019 22:34:59 -0700 Subject: [PATCH] Avoid a data race in container/health.go Signed-off-by: Ziheng Liu --- container/health.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container/health.go b/container/health.go index 167ee9b476..3e93142b98 100644 --- a/container/health.go +++ b/container/health.go @@ -22,7 +22,7 @@ func (s *Health) String() string { case types.Starting: return "health: starting" default: // Healthy and Unhealthy are clear on their own - return s.Health.Status + return status } }