Skip to content

Commit 08e553c

Browse files
Florian Kelbertmartijnvg
authored andcommitted
Correct condition for v7.5 (#50611)
If I am not mistaken, then this change should be correctly reflecting how to compare the number of hits in 7.5.
1 parent 2e0a989 commit 08e553c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/docs/en/watcher/condition/compare.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ condition returns `true` if the number of the total hits in the
4444
{
4545
"condition" : {
4646
"compare" : {
47-
"ctx.payload.hits.total.value" : { <1>
47+
"ctx.payload.hits.total" : { <1>
4848
"gte" : 5 <2>
4949
}
5050
}

0 commit comments

Comments
 (0)