From 596cf72b3d52a5a3438258a216d8c4d856795b5b Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Tue, 20 May 2025 16:41:47 +0200 Subject: [PATCH] Fix type of `shard_id` --- specification/_global/search/_types/profile.ts | 2 +- specification/snapshot/_types/SnapshotShardFailure.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/specification/_global/search/_types/profile.ts b/specification/_global/search/_types/profile.ts index e987fb5326..2b064d4c67 100644 --- a/specification/_global/search/_types/profile.ts +++ b/specification/_global/search/_types/profile.ts @@ -148,7 +148,7 @@ export class ShardProfile { index: IndexName node_id: NodeId searches: SearchProfile[] - shard_id: long + shard_id: integer } export class DfsProfile { diff --git a/specification/snapshot/_types/SnapshotShardFailure.ts b/specification/snapshot/_types/SnapshotShardFailure.ts index 7ff44344a2..647e460a97 100644 --- a/specification/snapshot/_types/SnapshotShardFailure.ts +++ b/specification/snapshot/_types/SnapshotShardFailure.ts @@ -18,12 +18,13 @@ */ import { Id, IndexName } from '@_types/common' +import { integer } from '@_types/Numeric' export class SnapshotShardFailure { index: IndexName node_id?: Id reason: string - shard_id: Id + shard_id: integer index_uuid: Id status: string }