Skip to content

Commit 2d6d9cc

Browse files
Update x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java
Co-authored-by: Ievgen Degtiarenko <[email protected]>
1 parent 8a5fae6 commit 2d6d9cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,7 @@ private static void prepareProfileLogger(RequestObjectBuilder requestObject, @Nu
14211421
/**
14221422
* Cache of capabilities.
14231423
*/
1424-
private static final Map<List<String>, Boolean> capabilities = new ConcurrentHashMap<>();
1424+
private static final ConcurrentMap<List<String>, Boolean> capabilities = new ConcurrentHashMap<>();
14251425

14261426
public static boolean hasCapabilities(RestClient client, List<String> requiredCapabilities) throws IOException {
14271427
if (requiredCapabilities.isEmpty()) {

0 commit comments

Comments
 (0)