Merge pull request #39645 from lzhfromustc/39503
container: avoid a data race in container/health.go
This commit is contained in:
commit
d1f4709466
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…
Add table
Reference in a new issue