Skip to content

Commit 1f87382

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent fa552d1 commit 1f87382

File tree

2 files changed

+5
-2
lines changed
  • x-pack/plugin/fleet/src

2 files changed

+5
-2
lines changed

x-pack/plugin/fleet/src/main/java/org/elasticsearch/xpack/fleet/Fleet.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,10 @@ private static SystemIndexDescriptor fleetArtifactsSystemIndexDescriptors() {
271271

272272
private static SystemIndexDescriptor fleetIntegrationKnowledgeSystemIndexDescriptor() {
273273
PutIndexTemplateRequest request = new PutIndexTemplateRequest();
274-
request.source(loadTemplateSource("/fleet-integration-knowledge.json", FLEET_INTEGRATION_KNOWLEDGE_MAPPINGS_VERSION), XContentType.JSON);
274+
request.source(
275+
loadTemplateSource("/fleet-integration-knowledge.json", FLEET_INTEGRATION_KNOWLEDGE_MAPPINGS_VERSION),
276+
XContentType.JSON
277+
);
275278

276279
return SystemIndexDescriptor.builder()
277280
.setType(Type.INTERNAL_MANAGED)

x-pack/plugin/fleet/src/test/java/org/elasticsearch/xpack/fleet/FleetTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public void testFleetIndexNames() {
6161
assertFalse(fleetDescriptors.stream().anyMatch(d -> d.matchesIndexPattern(".fleet-actions-results")));
6262

6363
assertTrue(fleetDescriptors.stream().anyMatch(d -> d.matchesIndexPattern(".fleet-secrets")));
64-
64+
6565
assertTrue(fleetDescriptors.stream().anyMatch(d -> d.matchesIndexPattern(".integration_knowledge")));
6666
}
6767

0 commit comments

Comments
 (0)