Skip to content

Commit c8514ff

Browse files
committed
Change internal document type to push "_doc" instead of "doc"
elastic/elasticsearch#39888 removed the "doc" type from internal indices, causing breakage in the x-pack integration tests. This commit changes the type to "_doc" for consistency.
1 parent 80c966b commit c8514ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎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)