Skip to content

Commit 7165942

Browse files
floberndgithub-actions[bot]
authored andcommitted
Fix type of shard_id (#4384)
(cherry picked from commit 6654d81)
1 parent bc7371c commit 7165942

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

specification/_global/search/_types/profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export class ShardProfile {
148148
index: IndexName
149149
node_id: NodeId
150150
searches: SearchProfile[]
151-
shard_id: long
151+
shard_id: integer
152152
}
153153

154154
export class DfsProfile {

specification/snapshot/_types/SnapshotShardFailure.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@
1818
*/
1919

2020
import { Id, IndexName } from '@_types/common'
21+
import { integer } from '@_types/Numeric'
2122

2223
export class SnapshotShardFailure {
2324
index: IndexName
2425
node_id?: Id
2526
reason: string
26-
shard_id: Id
27+
shard_id: integer
2728
index_uuid: Id
2829
status: string
2930
}

0 commit comments

Comments
 (0)