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
This commit is contained in:
Nhat Nguyen 2018-08-27 18:33:57 -04:00 committed by GitHub
parent 0e5d42ca38
commit 5b11df9c35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ node-0 flush 0 0 0
... ...
node-0 write 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] // TESTRESPONSE[s/\d+/\\d+/ _cat]
// The substitutions do two things: // The substitutions do two things:
// 1. Expect any number of extra thread pools. This allows us to only list a // 1. Expect any number of extra thread pools. This allows us to only list a