Skip to content

Commit ea4c957

Browse files
optional fields (#5534) (#5543)
(cherry picked from commit cb29fcd) Co-authored-by: Laura Trotta <[email protected]>
1 parent cc623e3 commit ea4c957

File tree

1 file changed

+2
-2
lines changed
  • specification/cluster/allocation_explain

1 file changed

+2
-2
lines changed

specification/cluster/allocation_explain/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export enum Decision {
101101
}
102102

103103
export class NodeAllocationExplanation {
104-
deciders: AllocationDecision[]
104+
deciders?: AllocationDecision[]
105105
node_attributes: Dictionary<string, string>
106106
node_decision: Decision
107107
node_id: Id
@@ -113,7 +113,7 @@ export class NodeAllocationExplanation {
113113
roles: NodeRoles
114114
store?: AllocationStore
115115
transport_address: TransportAddress
116-
weight_ranking: integer
116+
weight_ranking?: integer
117117
}
118118

119119
export enum StoreCopy {

0 commit comments

Comments
 (0)