Skip to content

Commit 83df9e3

Browse files
committed
fix compilation error
Signed-off-by: zane-neo <[email protected]>
1 parent baa5743 commit 83df9e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/src/test/java/org/opensearch/ml/utils/TestHelper.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import static org.opensearch.cluster.node.DiscoveryNodeRole.DATA_ROLE;
1313
import static org.opensearch.cluster.node.DiscoveryNodeRole.INGEST_ROLE;
1414
import static org.opensearch.cluster.node.DiscoveryNodeRole.REMOTE_CLUSTER_CLIENT_ROLE;
15-
import static org.opensearch.cluster.node.DiscoveryNodeRole.SEARCH_ROLE;
15+
import static org.opensearch.cluster.node.DiscoveryNodeRole.WARM_ROLE;
1616
import static org.opensearch.ml.common.CommonValue.ML_MODEL_INDEX;
1717
import static org.opensearch.ml.utils.RestActionUtils.PARAMETER_AGENT_ID;
1818
import static org.opensearch.ml.utils.RestActionUtils.PARAMETER_ALGORITHM;
@@ -105,7 +105,7 @@ public Setting<Boolean> legacySetting() {
105105

106106
public static SortedSet<DiscoveryNodeRole> ALL_ROLES = Collections
107107
.unmodifiableSortedSet(
108-
new TreeSet<>(Arrays.asList(DATA_ROLE, INGEST_ROLE, CLUSTER_MANAGER_ROLE, REMOTE_CLUSTER_CLIENT_ROLE, SEARCH_ROLE, ML_ROLE))
108+
new TreeSet<>(Arrays.asList(DATA_ROLE, INGEST_ROLE, CLUSTER_MANAGER_ROLE, REMOTE_CLUSTER_CLIENT_ROLE, WARM_ROLE, ML_ROLE))
109109
);
110110

111111
public static XContentParser parser(String xc) throws IOException {

0 commit comments

Comments
 (0)