Skip to content

Commit

Permalink
Merge pull request #41 from atlassian-labs/vportella/fail-healtchecks…
Browse files Browse the repository at this point in the history
…-when-error-returned

Fail health checks if an error is returned for one
  • Loading branch information
vincentportella authored Dec 3, 2021
2 parents 797229a + 59ceb5e commit ec8d246
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ func (t *CycleNodeRequestTransitioner) performCyclingHealthChecks(kubeNodes []co
statusCode, body, err := t.performHealthCheck(endpoint)
if err != nil {
t.rm.Logger.Error(err, "Health check failed", "endpoint", endpoint)
allHealthChecksPassed = false
continue
}

Expand Down

0 comments on commit ec8d246

Please sign in to comment.