Skip to content

Commit a95e00d

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 37e46a2 commit a95e00d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

libs/entitlement/src/main/java/org/elasticsearch/entitlement/initialization/EntitlementInitialization.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,13 @@ private static PolicyManager createPolicyManager() {
135135
new Scope("org.apache.httpcomponents.httpclient", List.of(new OutboundNetworkEntitlement())),
136136
new Scope("io.netty.transport", List.of(new InboundNetworkEntitlement(), new OutboundNetworkEntitlement())),
137137
new Scope("org.apache.lucene.core", List.of(new LoadNativeLibrariesEntitlement())),
138-
new Scope("org.elasticsearch.nativeaccess",
138+
new Scope(
139+
"org.elasticsearch.nativeaccess",
139140
List.of(
140141
new LoadNativeLibrariesEntitlement(),
141-
new FilesEntitlement(Arrays.asList(dataDirs).stream().map(d -> new FileData(d.toString(), READ_WRITE)).toList())))
142+
new FilesEntitlement(Arrays.asList(dataDirs).stream().map(d -> new FileData(d.toString(), READ_WRITE)).toList())
143+
)
144+
)
142145
)
143146
);
144147
// agents run without a module, so this is a special hack for the apm agent

0 commit comments

Comments
 (0)