Skip to content

Commit ef37ad3

Browse files
samxbrgeorgewallace
authored andcommitted
Add annotation for watcher deprecated setting (elastic#124278)
1 parent c0cb3f5 commit ef37ad3

File tree

1 file changed

+2
-0
lines changed
  • x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher

1 file changed

+2
-0
lines changed

x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/Watcher.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
import org.elasticsearch.common.util.concurrent.EsExecutors;
3939
import org.elasticsearch.core.IOUtils;
4040
import org.elasticsearch.core.TimeValue;
41+
import org.elasticsearch.core.UpdateForV10;
4142
import org.elasticsearch.env.Environment;
4243
import org.elasticsearch.features.FeatureService;
4344
import org.elasticsearch.features.NodeFeature;
@@ -240,6 +241,7 @@ public class Watcher extends Plugin implements SystemIndexPlugin, ScriptPlugin,
240241
NodeScope
241242
);
242243
private static final Setting<Integer> SETTING_BULK_ACTIONS = Setting.intSetting("xpack.watcher.bulk.actions", 1, 1, 10000, NodeScope);
244+
@UpdateForV10(owner = UpdateForV10.Owner.DATA_MANAGEMENT)
243245
@Deprecated(forRemoval = true) // This setting is no longer used
244246
private static final Setting<Integer> SETTING_BULK_CONCURRENT_REQUESTS = Setting.intSetting(
245247
"xpack.watcher.bulk.concurrent_requests",

0 commit comments

Comments
 (0)