Skip to content

Commit 15c96df

Browse files
Replaced "true" with true in snapshot restore docs
Closes elastic#19947
1 parent 35e4f24 commit 15c96df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/reference/modules/snapshots.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ which returns:
3838
"my_backup": {
3939
"type": "fs",
4040
"settings": {
41-
"compress": "true",
41+
"compress": true,
4242
"location": "/mount/backups/my_backup"
4343
}
4444
}
@@ -219,7 +219,7 @@ specifying the list of indices in the body of the snapshot request.
219219
PUT /_snapshot/my_backup/snapshot_1
220220
{
221221
"indices": "index_1,index_2",
222-
"ignore_unavailable": "true",
222+
"ignore_unavailable": true,
223223
"include_global_state": false
224224
}
225225
-----------------------------------
@@ -340,7 +340,7 @@ with associated indices
340340
POST /_snapshot/my_backup/snapshot_1/_restore
341341
{
342342
"indices": "index_1,index_2",
343-
"ignore_unavailable": "true",
343+
"ignore_unavailable": true,
344344
"include_global_state": true,
345345
"rename_pattern": "index_(.+)",
346346
"rename_replacement": "restored_index_$1"

0 commit comments

Comments
 (0)