Skip to content

Commit

Permalink
HC fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krystian-panek-vmltech committed Dec 1, 2023
1 parent dbadbae commit 9dae2b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,9 @@ func (i Instance) HealthChecks() []string {
i.manager.CheckOpts.ComponentStable,
}
for _, check := range checks {
if check.Spec().Skip {
continue
}
result := check.Check(i.manager.CheckContext().Value(checkContextKey{}).(CheckContext), i)
resultText := result.Text()
if resultText != "" {
Expand Down

0 comments on commit 9dae2b2

Please sign in to comment.