Skip to content

Commit

Permalink
smol change to trigger CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tobz authored Aug 8, 2022
1 parent 13ecb12 commit 1608022
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/sinks/elasticsearch/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,8 @@ impl HttpRequestBuilder {
&self,
es_req: ElasticsearchRequest,
) -> Result<Request<Bytes>, crate::Error> {
let mut builder = Request::post(&self.bulk_uri);

builder = builder.header("Content-Type", "application/vnd.elasticsearch+json;compatible-with=7");
let mut builder = Request::post(&self.bulk_uri)
.header("Content-Type", "application/vnd.elasticsearch+json;compatible-with=7");

if let Some(ce) = self.compression.content_encoding() {
builder = builder.header("Content-Encoding", ce);
Expand Down

0 comments on commit 1608022

Please sign in to comment.