Skip to content

Commit 0043bb8

Browse files
committed
Minor code cleanup for PR review
1 parent b67012c commit 0043bb8

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSessionCCSUtils.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -300,12 +300,11 @@ static void updateExecutionInfoAtEndOfPlanning(EsqlExecutionInfo execInfo) {
300300
}
301301

302302
/**
303-
* Checks the index expression the presence of remote clusters. If found, it will ensure that the caller
304-
* has installed a valid Enterprise (or Trial) license on this (coordinator) node of the querying cluster.
305-
* MP TODO: test this with a cluster pattern that does NOT match anything - what happens?
306-
* @param indices
307-
* @param indicesGrouper
308-
* @param licenseState
303+
* Checks the index expression for the presence of remote clusters. If found, it will ensure that the caller
304+
* has a valid Enterprise (or Trial) license on the querying cluster.
305+
* @param indices index expression requested by user
306+
* @param indicesGrouper grouper of index expressions by cluster alias
307+
* @param licenseState license state on the querying cluster
309308
* @throws org.elasticsearch.ElasticsearchStatusException if the license is not valid (or present) for ES|QL CCS search.
310309
*/
311310
public static void checkForCcsLicense(

0 commit comments

Comments
 (0)