File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
server/src/main/java/org/elasticsearch/action/support Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 99
1010package org .elasticsearch .action .support ;
1111
12- import org .elasticsearch .cluster .ClusterState ;
1312import org .elasticsearch .cluster .metadata .ComposableIndexTemplate ;
1413import org .elasticsearch .cluster .metadata .IndexNameExpressionResolver ;
1514import org .elasticsearch .cluster .metadata .MetadataIndexTemplateService ;
2120import org .elasticsearch .common .settings .Setting .Property ;
2221import org .elasticsearch .common .settings .Settings ;
2322import org .elasticsearch .core .Booleans ;
24- import org .elasticsearch .core .FixForMultiProject ;
2523import org .elasticsearch .core .Tuple ;
2624import org .elasticsearch .index .IndexNotFoundException ;
2725import org .elasticsearch .indices .SystemIndices ;
@@ -58,12 +56,6 @@ public AutoCreateIndex(
5856 clusterSettings .addSettingsUpdateConsumer (AUTO_CREATE_INDEX_SETTING , this ::setAutoCreate );
5957 }
6058
61- @ FixForMultiProject
62- @ Deprecated
63- public boolean shouldAutoCreate (String index , ClusterState state ) {
64- return shouldAutoCreate (index , state .metadata ().getProject ());
65- }
66-
6759 /**
6860 * Should the index be auto created?
6961 * @throws IndexNotFoundException if the index doesn't exist and shouldn't be auto created
You can’t perform that action at this time.
0 commit comments