Skip to content

Commit ecba50c

Browse files
committed
Change internal document type to push "_doc" instead of "doc"
This commit fixes x-pack integration tests that were broken by elastic/elasticsearch#39888 removing the "doc" type, and using `_doc` in templates. Fixes #10533
1 parent 182639a commit ecba50c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

x-pack/qa/integration/support/helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def elasticsearch_client(options = { :url => "http://elastic:#{elastic_password}
9595
end
9696

9797
def push_elasticsearch_config(pipeline_id, config)
98-
elasticsearch_client.index :index => '.logstash', :type => "doc", id: pipeline_id, :body => { :pipeline => config }
98+
elasticsearch_client.index :index => '.logstash', :type => "_doc", id: pipeline_id, :body => { :pipeline => config }
9999
end
100100

101101
def cleanup_elasticsearch(index = MONITORING_INDEXES)

0 commit comments

Comments
 (0)