Skip to content

Commit f7c1842

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent d2582d4 commit f7c1842

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

x-pack/plugin/otel-data/src/main/java/org/elasticsearch/xpack/oteldata/otlp/OTLPMetricsTransportAction.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ protected void doExecute(Task task, MetricsRequest request, ActionListener<Metri
9090
return;
9191
}
9292
BulkRequestBuilder bulkRequestBuilder = client.prepareBulk();
93-
MetricDocumentBuilder metricDocumentBuilder = new MetricDocumentBuilder(byteStringAccessor);
94-
context.consume(dataPointGroup -> addIndexRequest(bulkRequestBuilder, metricDocumentBuilder, dataPointGroup));
93+
MetricDocumentBuilder metricDocumentBuilder = new MetricDocumentBuilder(byteStringAccessor);
94+
context.consume(dataPointGroup -> addIndexRequest(bulkRequestBuilder, metricDocumentBuilder, dataPointGroup));
9595
if (bulkRequestBuilder.numberOfActions() == 0) {
9696
handleEmptyBulk(listener, context);
9797
return;
@@ -131,7 +131,7 @@ private void addIndexRequest(
131131
.setRequireDataStream(true)
132132
.source(xContentBuilder)
133133
// TODO uncomment after https://github.com/elastic/elasticsearch/pull/132566 has been merged
134-
//.tsid(DataPointGroupTsidFunnel.forDataPointGroup(dataPointGroup).buildTsid())
134+
// .tsid(DataPointGroupTsidFunnel.forDataPointGroup(dataPointGroup).buildTsid())
135135
.setDynamicTemplates(dynamicTemplates)
136136
);
137137
}

0 commit comments

Comments
 (0)