Skip to content

Commit

Permalink
Remove special changes to docs test for default distribution (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianli Feng authored Feb 25, 2021
1 parent 905afd4 commit ae67a61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
1 change: 0 additions & 1 deletion docs/Versions.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ include::{docs-root}/shared/versions/stack/{source_branch}.asciidoc[]
:lucene_version_path: 8_7_0
:jdk: 1.8.0_131
:jdk_major: 8
:build_flavor: default
:build_type: tar

:docker-repo: docker.elastic.co/elasticsearch/elasticsearch
Expand Down
17 changes: 2 additions & 15 deletions docs/reference/cat/nodeattrs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,9 @@ The API returns the following response:
[source,txt]
--------------------------------------------------
node host ip attr value
...
node-0 127.0.0.1 127.0.0.1 testattr test
...
--------------------------------------------------
// TESTRESPONSE[s/\.\.\.\n$/\n(.+ xpack\\.installed true\n)?\n/]
// TESTRESPONSE[s/\.\.\.\n/(.+ ml\\..+\n)*/ non_json]
// If xpack is not installed then neither ... with match anything
// If xpack is installed then the first ... contains ml attributes
// and the second contains xpack.installed=true
// TESTRESPONSE[non_json]

The `node`, `host`, and `ip` columns provide basic information about each node.
The `attr` and `value` columns return custom node attributes, one per line.
Expand All @@ -108,13 +102,6 @@ The API returns the following response:
[source,txt]
--------------------------------------------------
name pid attr value
...
node-0 19566 testattr test
...
--------------------------------------------------
// TESTRESPONSE[s/19566/\\d*/]
// TESTRESPONSE[s/\.\.\.\n$/\n(.+ xpack\\.installed true\n)?\n/]
// TESTRESPONSE[s/\.\.\.\n/(.+ ml\\..+\n)*/ non_json]
// If xpack is not installed then neither ... with match anything
// If xpack is installed then the first ... contains ml attributes
// and the second contains xpack.installed=true
// TESTRESPONSE[s/19566/\\d*/ non_json]

0 comments on commit ae67a61

Please sign in to comment.