From 2da79f2b5e403de54640735e3778bc5b5e2cf9e7 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Mon, 17 Jul 2017 09:45:09 +0200 Subject: [PATCH] [TEST] Use 5.x compatible API in shrink tests --- .../rest-api-spec/test/indices.shrink/20_source_mapping.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.shrink/20_source_mapping.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.shrink/20_source_mapping.yml index 6dcef57b3e1..6bca6e9f962 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.shrink/20_source_mapping.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.shrink/20_source_mapping.yml @@ -34,12 +34,12 @@ id: "1" body: { "count": "1" } - # create template matching shrink tagret + # create template matching shrink target - do: indices.put_template: name: tpl1 body: - index_patterns: targ* + template: targ* mappings: test: properties: