From 34eb94704db1ced9eac79288eef54adf0a617adc Mon Sep 17 00:00:00 2001 From: Michael Peterson Date: Fri, 10 Jan 2025 13:03:08 -0500 Subject: [PATCH] Fix compilation bug introduced in previous PR feedback commit --- .../admin/indices/resolve/TransportResolveClusterAction.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/action/admin/indices/resolve/TransportResolveClusterAction.java b/server/src/main/java/org/elasticsearch/action/admin/indices/resolve/TransportResolveClusterAction.java index 8c37394bd8ef3..e46a8c5091029 100644 --- a/server/src/main/java/org/elasticsearch/action/admin/indices/resolve/TransportResolveClusterAction.java +++ b/server/src/main/java/org/elasticsearch/action/admin/indices/resolve/TransportResolveClusterAction.java @@ -100,7 +100,7 @@ protected void doExecuteForked(Task task, ResolveClusterActionRequest request, A if (request.clusterInfoOnly()) { if (request.queryingCluster()) { /* - * User does not want to check whether an index expression matches, so we use the "*:dummy: index pattern to + * User does not want to check whether an index expression matches, so we use the "*:dummy*" index pattern to * 1) determine all the local configured remotes and * 2) for older clusters that do not understand the new clusterInfoOnly setting (or for even older clusters * where we need to fall back to using _resolve/index), fallback to matching any/all index/alias/datastreams @@ -318,7 +318,6 @@ public void onFailure(Exception e) { clusterInfoMap.put(clusterAlias, resolveClusterInfo); } }; - return resolveIndexActionListener; } };