Avoid a data race in container/health.go

Signed-off-by: Ziheng Liu <lzhfromustc@gmail.com>
This commit is contained in:
Ziheng Liu 2019-07-29 22:34:59 -07:00
parent 582591d56b
commit 53e0c50126
No known key found for this signature in database
GPG Key ID: D43CCD050419428C
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}