Docs: Clear watermarks after setting them (#28402)

Clear the disk watermark after the snippet showing users how to set it.
Without this our tests will fail if the disks have less than 10GB free.

Closes #28325
This commit is contained in:
Nik Everett 2018-01-26 15:42:53 -05:00 committed by GitHub
parent 583085d7e8
commit 3d19006cfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -98,3 +98,20 @@ PUT _cluster/settings
--------------------------------------------------
// CONSOLE
/////////////////////
Clear the settings so they don't leak into subsequent snippets.
[source,js]
--------------------------------------------------
PUT _cluster/settings
{
"transient": {
"cluster.*" : null
}
}
--------------------------------------------------
// CONSOLE
// TEST[continued]
/////////////////////