From d2b0e225036c7874e479690360712a0dd4697a4c Mon Sep 17 00:00:00 2001 From: Valeriy Khakhutskyy <1292899+valeriy42@users.noreply.github.com> Date: Mon, 10 Mar 2025 07:39:32 +0100 Subject: [PATCH] [ML] Update documentation for remote cluster client role in MlPutDatafeedRequest (#3645) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update documentation for remote cluster client role in MlPutDatafeedRequest * Refactor comment formatting in MlPutDatafeedRequest for clarity * Update description for indices in schema.json to clarify remote cluster client role requirements * pretty --------- Co-authored-by: István Zoltán Szabó Co-authored-by: Quentin Pradet (cherry picked from commit c287d3428de1ea7d85f41b8ad8f5522328792dc5) --- output/schema/schema.json | 2 +- specification/ml/put_datafeed/MlPutDatafeedRequest.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/output/schema/schema.json b/output/schema/schema.json index 1c242713f4..1611d51112 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -170262,7 +170262,7 @@ "aliases": [ "indexes" ], - "description": "An array of index names. Wildcards are supported. If any of the indices are in remote clusters, the machine\nlearning nodes must have the `remote_cluster_client` role.", + "description": "An array of index names. Wildcards are supported. If any of the indices are in remote clusters, the master \nnodes and the machine learning nodes must have the `remote_cluster_client` role.", "name": "indices", "required": false, "type": { diff --git a/specification/ml/put_datafeed/MlPutDatafeedRequest.ts b/specification/ml/put_datafeed/MlPutDatafeedRequest.ts index 6a317c9640..f3c7644a89 100644 --- a/specification/ml/put_datafeed/MlPutDatafeedRequest.ts +++ b/specification/ml/put_datafeed/MlPutDatafeedRequest.ts @@ -117,8 +117,8 @@ export interface Request extends RequestBase { */ frequency?: Duration /** - * An array of index names. Wildcards are supported. If any of the indices are in remote clusters, the machine - * learning nodes must have the `remote_cluster_client` role. + * An array of index names. Wildcards are supported. If any of the indices are in remote clusters, the master + * nodes and the machine learning nodes must have the `remote_cluster_client` role. * @aliases indexes * */ indices?: Indices