Skip to content

Commit bd737f1

Browse files
authored
Add support for the new data_* roles. (#5085)
Our integration tests were failing calling the `nodes.info` API because it could not map `data_cold` to this enum.
1 parent 8c658ca commit bd737f1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/Nest/Cluster/NodesInfo/NodeRole.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@ public enum NodeRole
1717
[EnumMember(Value = "data")]
1818
Data,
1919

20+
[EnumMember(Value = "data_cold")]
21+
DataCold,
22+
23+
[EnumMember(Value = "data_content")]
24+
DataContent,
25+
26+
[EnumMember(Value = "data_hot")]
27+
DataHot,
28+
29+
[EnumMember(Value = "data_warm")]
30+
DataWarm,
31+
2032
[EnumMember(Value = "client")]
2133
Client,
2234

0 commit comments

Comments
 (0)