From 9f6f1e83348d91d4339885bf975cb5c0eaac4327 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 0a5254a3c3..3bd421b22f 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -177682,7 +177682,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 ec8eeec4a6..75dfac4cd3 100644 --- a/specification/ml/put_datafeed/MlPutDatafeedRequest.ts +++ b/specification/ml/put_datafeed/MlPutDatafeedRequest.ts @@ -126,8 +126,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