Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrille-leclerc committed Mar 8, 2022
1 parent e9cc8a1 commit ec812d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ public void testGetIndexTemplate() throws IOException {
.build();
RestClientTransport elasticsearchTransport = new RestClientTransport(restClient, new JacksonJsonpMapper());
ElasticsearchClient elasticsearchClient = new ElasticsearchClient(elasticsearchTransport);
ElasticsearchIndicesClient indices = elasticsearchClient.indices();
GetIndexTemplateResponse indexTemplatesResponse = indices.getIndexTemplate(b -> b.name("logs-apm.app"));
ElasticsearchIndicesClient elasticsearchIndicesClient = elasticsearchClient.indices();
GetIndexTemplateResponse indexTemplatesResponse = elasticsearchIndicesClient.getIndexTemplate(b -> b.name("logs-apm.app"));
// TODO the rest
}

Expand Down

0 comments on commit ec812d2

Please sign in to comment.