mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Enable golint linter
Use the golint linter and fix the reported problems. [NO TESTS NEEDED] Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
This commit is contained in:
@ -190,7 +190,7 @@ func (c *Container) updateHealthCheckLog(hcl define.HealthCheckLog, inStartPerio
|
||||
}
|
||||
if !inStartPeriod {
|
||||
// increment failing streak
|
||||
healthCheck.FailingStreak += 1
|
||||
healthCheck.FailingStreak++
|
||||
// if failing streak > retries, then status to unhealthy
|
||||
if healthCheck.FailingStreak >= c.HealthCheckConfig().Retries {
|
||||
healthCheck.Status = define.HealthCheckUnhealthy
|
||||
|
Reference in New Issue
Block a user