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

Minor update

This commit is contained in:
TwinProduction 2021-01-04 18:00:36 -05:00
parent 2b4fc7138a
commit f1c0bbe73c

View file

@ -172,7 +172,7 @@ func sanitizeAndResolve(list []string, result *Result) []string {
result.Errors = append(result.Errors, err.Error())
}
if wantLength {
element = fmt.Sprintf("len(%s) %s", element, InvalidConditionElementSuffix)
element = fmt.Sprintf("%s%s%s %s", LengthFunctionPrefix, element, FunctionSuffix, InvalidConditionElementSuffix)
} else {
element = fmt.Sprintf("%s %s", element, InvalidConditionElementSuffix)
}