Skip to content

Commit d8fad92

Browse files
authored
Change SnapshotShardFailure shard_id to int (#4543)
This commit changes the type of property ShardId on SnapshotShardFailure to int, to match Elasticsearch. Fixes #4537
1 parent aba2aa3 commit d8fad92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nest/Modules/SnapshotAndRestore/Snapshot/SnapshotShardFailure.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class SnapshotShardFailure
1515
public string Reason { get; set; }
1616

1717
[DataMember(Name ="shard_id")]
18-
public string ShardId { get; set; }
18+
public int ShardId { get; set; }
1919

2020
[DataMember(Name ="status")]
2121
public string Status { get; set; }

0 commit comments

Comments
 (0)