Skip to content

Commit b3d5874

Browse files
authored
Fix ResourceType API annotations (opensearch-project#15497)
Signed-off-by: Andriy Redko <[email protected]>
1 parent 2b84305 commit b3d5874

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

server/src/main/java/org/opensearch/wlm/ResourceType.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@
1818

1919
/**
2020
* Enum to hold the resource type
21+
*
22+
* @opensearch.api
2123
*/
22-
@PublicApi(since = "2.x")
24+
@PublicApi(since = "2.17.0")
2325
public enum ResourceType {
2426
CPU("cpu", task -> task.getTotalResourceUtilization(ResourceStats.CPU), true),
2527
MEMORY("memory", task -> task.getTotalResourceUtilization(ResourceStats.MEMORY), true);

0 commit comments

Comments
 (0)