Skip to content

Commit

Permalink
Avoid a data race in container/health.go
Browse files Browse the repository at this point in the history
Signed-off-by: Ziheng Liu <lzhfromustc@gmail.com>
  • Loading branch information
lzhfromustc committed Jul 31, 2019
1 parent 582591d commit 53e0c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/health.go
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 53e0c50

Please sign in to comment.