-
Notifications
You must be signed in to change notification settings - Fork 486
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flow: only use component health when component implements component.H…
…ealthComponent (#3740) * Revert "Default back to healthy when a component does not implement component.HealthComponent (#3558)" This reverts commit b2f8992. The commit introduced a bug where the "default health" message was always returned for healthy components, overriding the message informing the user when the last time the component evaluated was. * flow: only use component health if component exposes health This commit offers an alernative approach to #3558, where the overall health of a component only considers the component implementation of health if that component implements the component.HealthComponent interface. Without this commit, the zero value of component.Health was always returned, considering the health of every component as being "unknown."
- Loading branch information
Showing
3 changed files
with
8 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters