Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 80cebcf

Browse files
authored
Merge pull request #443 from thaJeztah/19.03_backport_health_race
[19.03 backport] Avoid a data race in container/health.go Upstream-commit: ef7b19365e19722b69276f2c1c36ac2a3840a6cf Component: engine
2 parents 5effd71 + 7592722 commit 80cebcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/engine/container/health.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func (s *Health) String() string {
2222
case types.Starting:
2323
return "health: starting"
2424
default: // Healthy and Unhealthy are clear on their own
25-
return s.Health.Status
25+
return status
2626
}
2727
}
2828

0 commit comments

Comments
 (0)