Browse Source

DOCS: Make ellipsis optional in /cat/thread_pool (#33186)

The fix proposed in #31442 fails with the oss distro because the added
3dots does not match anything with the default oss while a 3dots
expression requires matching at least one thread pool.

This change makes an ellipsis optional so the thread_pool list can match
both the oss distro (without ccr) and default distro (with ccr).

Relates #31442
Nhat Nguyen 7 years ago
parent
commit
5b11df9c35
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/reference/cat/thread_pool.asciidoc

+ 1 - 1
docs/reference/cat/thread_pool.asciidoc

@@ -22,7 +22,7 @@ node-0 flush               0 0 0
 ...
 node-0 write               0 0 0
 --------------------------------------------------
-// TESTRESPONSE[s/\.\.\./(node-0 \\S+ 0 0 0\n)+/]
+// TESTRESPONSE[s/\.\.\./(node-0 \\S+ 0 0 0\n)*/]
 // TESTRESPONSE[s/\d+/\\d+/ _cat]
 // The substitutions do two things:
 // 1. Expect any number of extra thread pools. This allows us to only list a