Skip to content

Commit 8ea02bb

Browse files
committed
Add NotMultiProjectCapable
1 parent 70f3aa0 commit 8ea02bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

x-pack/plugin/ilm/src/main/java/org/elasticsearch/xpack/ilm/history/ILMHistoryStore.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import org.elasticsearch.cluster.service.ClusterService;
2525
import org.elasticsearch.common.settings.Setting;
2626
import org.elasticsearch.common.unit.ByteSizeValue;
27+
import org.elasticsearch.core.NotMultiProjectCapable;
2728
import org.elasticsearch.core.TimeValue;
2829
import org.elasticsearch.threadpool.ThreadPool;
2930
import org.elasticsearch.xcontent.ToXContent;
@@ -170,6 +171,7 @@ public void afterBulk(long executionId, BulkRequest request, Exception failure)
170171
/**
171172
* Attempts to asynchronously index an ILM history entry
172173
*/
174+
@NotMultiProjectCapable(description = "See comment inside method")
173175
public void putAsync(ProjectId projectId, ILMHistoryItem item) {
174176
if (ilmHistoryEnabled == false) {
175177
logger.trace(

0 commit comments

Comments
 (0)