Skip to content

Commit ce31997

Browse files
authored
disable check for non-snapshot builds for data streams feature flag (#54000)
1 parent c0534f4 commit ce31997

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

server/src/main/java/org/elasticsearch/action/ActionModule.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,9 +399,6 @@ public class ActionModule extends AbstractModule {
399399

400400
static {
401401
final String property = System.getProperty("es.datastreams_feature_flag_registered");
402-
if (Build.CURRENT.isSnapshot() && property != null) {
403-
throw new IllegalArgumentException("es.datastreams_feature_flag_registered is only supported in non-snapshot builds");
404-
}
405402
if (Build.CURRENT.isSnapshot() || "true".equals(property)) {
406403
DATASTREAMS_FEATURE_FLAG_REGISTERED = true;
407404
} else if ("false".equals(property) || property == null) {

0 commit comments

Comments
 (0)