Skip to content

Commit

Permalink
Update pkg/controller/cyclenoderequest/transitioner/transitions.go
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent Portella <22861482+vincentportella@users.noreply.github.com>
  • Loading branch information
hyang200 and vincentportella authored Oct 13, 2022
1 parent 33e2a2a commit 92b4646
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ func (t *CycleNodeRequestTransitioner) transitionCordoning() (reconcile.Result,
allHealthChecksPassed, err := t.performPreTerminationHealthChecks(node)
if err != nil {
t.rm.LogEvent(t.cycleNodeRequest, "PreTerminationHealChecks", "failed to perform pre-termination health checks to %v, err: %v", node.Name, err)
return t.transitionToHealing(errors.Wrapf(err, "failed to perform pre-termination health checks to %s", node.Name))
return t.transitionToHealing(errors.Wrapf(err, "failed to perform pre-termination health checks for %s", node.Name))
}

// If not all health checks have passed, it is not ready for termination yet
Expand Down

0 comments on commit 92b4646

Please sign in to comment.