Skip to content

Commit

Permalink
Add ml to NodeRole enum (#4049)
Browse files Browse the repository at this point in the history
This commit adds a MachineLearning role to the NodeRole enum. "ml" is now returned as
a node role value in node APIs in 8.0

Fixes #4040

(cherry picked from commit e343b75)
  • Loading branch information
russcam committed Sep 3, 2019
1 parent 48b23bc commit 4da9173
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Nest/Cluster/NodesInfo/NodeRole.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ public enum NodeRole
Client,

[EnumMember(Value = "ingest")]
Ingest
Ingest,

[EnumMember(Value = "ml")]
MachineLearning
}
}

0 comments on commit 4da9173

Please sign in to comment.