Skip to content

Commit

Permalink
Fix ResourceType API annotations (#15497)
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta authored Aug 29, 2024
1 parent 2b84305 commit b3d5874
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/src/main/java/org/opensearch/wlm/ResourceType.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@

/**
* Enum to hold the resource type
*
* @opensearch.api
*/
@PublicApi(since = "2.x")
@PublicApi(since = "2.17.0")
public enum ResourceType {
CPU("cpu", task -> task.getTotalResourceUtilization(ResourceStats.CPU), true),
MEMORY("memory", task -> task.getTotalResourceUtilization(ResourceStats.MEMORY), true);
Expand Down

0 comments on commit b3d5874

Please sign in to comment.