diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2021-02-11 22:28:35 +0100 |
---|---|---|
committer | Paul Holzinger <paul.holzinger@web.de> | 2021-02-11 23:01:49 +0100 |
commit | 69ab67bf90aa4bbd285f360e3bca4c85b6028908 (patch) | |
tree | 3ab90163357d9d85aedae6555934ae5744b4ac83 /libpod/healthcheck.go | |
parent | ef2fc90f2d0057bfddee1b83d307e853181a4988 (diff) | |
download | podman-69ab67bf90aa4bbd285f360e3bca4c85b6028908.tar.gz podman-69ab67bf90aa4bbd285f360e3bca4c85b6028908.tar.bz2 podman-69ab67bf90aa4bbd285f360e3bca4c85b6028908.zip |
Enable golint linter
Use the golint linter and fix the reported problems.
[NO TESTS NEEDED]
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'libpod/healthcheck.go')
-rw-r--r-- | libpod/healthcheck.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/healthcheck.go b/libpod/healthcheck.go index f77075893..6c5becd5b 100644 --- a/libpod/healthcheck.go +++ b/libpod/healthcheck.go @@ -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 |