Merge pull request #443 from thaJeztah/19.03_backport_health_race

[19.03 backport] Avoid a data race in container/health.go
This commit is contained in:
Sebastiaan van Stijn 2020-01-23 20:24:16 +01:00 committed by GitHub
commit ef7b19365e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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