Merge pull request #39645 from lzhfromustc/39503

container: avoid a data race in container/health.go
This commit is contained in:
Akihiro Suda 2019-08-04 01:33:23 +09:00 committed by GitHub
commit d1f4709466
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
}
}