mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-14 11:58:04 +00:00
Minor update
This commit is contained in:
parent
2b4fc7138a
commit
f1c0bbe73c
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ func sanitizeAndResolve(list []string, result *Result) []string {
|
||||||
result.Errors = append(result.Errors, err.Error())
|
result.Errors = append(result.Errors, err.Error())
|
||||||
}
|
}
|
||||||
if wantLength {
|
if wantLength {
|
||||||
element = fmt.Sprintf("len(%s) %s", element, InvalidConditionElementSuffix)
|
element = fmt.Sprintf("%s%s%s %s", LengthFunctionPrefix, element, FunctionSuffix, InvalidConditionElementSuffix)
|
||||||
} else {
|
} else {
|
||||||
element = fmt.Sprintf("%s %s", element, InvalidConditionElementSuffix)
|
element = fmt.Sprintf("%s %s", element, InvalidConditionElementSuffix)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue