summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-09-13 06:50:17 +0000
committerGerrit Code Review <review@openstack.org>2022-09-13 06:50:17 +0000
commit143295fc3627ea7ad2dd580f0e3845621715b448 (patch)
treeeeb3879c9c36ef7ab8e998642b6ed4bba1cd0ae7
parent76ec804a893253755c794e8271f56e567b0c1f3d (diff)
parent5efc9bc0b2c6e14e2c4b85cb573b7650d7870536 (diff)
downloadzuul-143295fc3627ea7ad2dd580f0e3845621715b448.tar.gz
Merge "elasticsearch: Remove the deprecated document type"
-rw-r--r--zuul/driver/elasticsearch/connection.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/zuul/driver/elasticsearch/connection.py b/zuul/driver/elasticsearch/connection.py
index e1ba50b37..eb696edf3 100644
--- a/zuul/driver/elasticsearch/connection.py
+++ b/zuul/driver/elasticsearch/connection.py
@@ -113,7 +113,6 @@ class ElasticsearchConnection(BaseConnection):
source['@timestamp'] = datetime.utcfromtimestamp(
int(source['start_time'])).strftime("%Y-%m-%dT%H:%M:%S.%fZ")
d['_index'] = index
- d['_type'] = 'zuul'
d['_op_type'] = 'index'
d['_source'] = source
yield d