فهرست منبع

[TEST] Fixes docs tests

https://github.com/elastic/elasticsearch/commit/587409e893858dac5ca2dd3a78584bacbb424708 introduced a bug where an example of the format of a request which contained placeholder values was attempted to be tested. This change adds `NOTCONSOLE` to that snippet as the immediately following snippet tests a concrete example.

https://github.com/elastic/elasticsearch/commit/220212dd6990567a199185b6d7beea50d2f92f82 introduced a bug because the test substitution was looking for `otherhost` where the snippet contained `oldhost`. This change fixes the substitution
Colin Goodheart-Smithe 8 سال پیش
والد
کامیت
6b23ee8040
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      docs/reference/setup/logging-config.asciidoc
  2. 1 1
      docs/reference/setup/upgrade/reindex_upgrade.asciidoc

+ 1 - 1
docs/reference/setup/logging-config.asciidoc

@@ -129,7 +129,7 @@ PUT /_cluster/settings
   }
 }
 -------------------------------
-// CONSOLE
+// NOTCONSOLE
 
 For example:
 

+ 1 - 1
docs/reference/setup/upgrade/reindex_upgrade.asciidoc

@@ -159,7 +159,7 @@ POST _reindex
 // CONSOLE
 // TEST[setup:host]
 // TEST[s/^/PUT source\n/]
-// TEST[s/otherhost:9200",/\${host}"/]
+// TEST[s/oldhost:9200",/\${host}"/]
 // TEST[s/"username": "user",//]
 // TEST[s/"password": "pass"//]