1
0
Fork 0
mirror of https://github.com/TwiN/gatus.git synced 2024-12-14 11:58:04 +00:00

Remove Explanation field from ConditionResult

This commit is contained in:
TwinProduction 2020-04-10 16:37:52 -04:00
parent 6888ced1a7
commit 1f177902e6

View file

@ -92,9 +92,8 @@ func (service *Service) EvaluateConditions() *Result {
}
type ConditionResult struct {
Condition *Condition `json:"condition"`
Success bool `json:"success"`
Explanation string `json:"-"`
Condition *Condition `json:"condition"`
Success bool `json:"success"`
}
type Condition string