summaryrefslogtreecommitdiffstats
path: root/vendor/gopkg.in/olivere/elastic.v5/indices_exists_template_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gopkg.in/olivere/elastic.v5/indices_exists_template_test.go')
-rw-r--r--vendor/gopkg.in/olivere/elastic.v5/indices_exists_template_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/gopkg.in/olivere/elastic.v5/indices_exists_template_test.go b/vendor/gopkg.in/olivere/elastic.v5/indices_exists_template_test.go
index cddf69f21..a97442971 100644
--- a/vendor/gopkg.in/olivere/elastic.v5/indices_exists_template_test.go
+++ b/vendor/gopkg.in/olivere/elastic.v5/indices_exists_template_test.go
@@ -13,13 +13,13 @@ func TestIndexExistsTemplate(t *testing.T) {
client := setupTestClientAndCreateIndex(t)
tmpl := `{
- "template":"elastic-test*",
+ "index_patterns":["elastic-test*"],
"settings":{
"number_of_shards":1,
"number_of_replicas":0
},
"mappings":{
- "tweet":{
+ "doc":{
"properties":{
"tags":{
"type":"keyword"