From fc0642f41cda2c72781b3f7012d3aa77ddadcb89 Mon Sep 17 00:00:00 2001 From: Laura Trotta <153528055+l-trotta@users.noreply.github.com> Date: Mon, 27 Oct 2025 10:50:06 +0100 Subject: [PATCH] optional fields (#5534) (cherry picked from commit cb29fcd574b1a13398857049beb6170522ed2dcf) --- specification/cluster/allocation_explain/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/cluster/allocation_explain/types.ts b/specification/cluster/allocation_explain/types.ts index 17c7e0212b..9e5c00822b 100644 --- a/specification/cluster/allocation_explain/types.ts +++ b/specification/cluster/allocation_explain/types.ts @@ -101,7 +101,7 @@ export enum Decision { } export class NodeAllocationExplanation { - deciders: AllocationDecision[] + deciders?: AllocationDecision[] node_attributes: Dictionary node_decision: Decision node_id: Id @@ -113,7 +113,7 @@ export class NodeAllocationExplanation { roles: NodeRoles store?: AllocationStore transport_address: TransportAddress - weight_ranking: integer + weight_ranking?: integer } export enum StoreCopy {