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:
commit
ef7b19365e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue