Skip to content

Commit 8739f9a

Browse files
authored
Update example plugin for API changes in #103277 (#104357)
1 parent a3db0c7 commit 8739f9a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/examples/rest-handler/src/main/java/org/elasticsearch/example/resthandler/ExampleRestHandlerPlugin.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
import org.elasticsearch.cluster.metadata.IndexNameExpressionResolver;
1212
import org.elasticsearch.cluster.node.DiscoveryNodes;
13+
import org.elasticsearch.common.io.stream.NamedWriteableRegistry;
1314
import org.elasticsearch.common.settings.ClusterSettings;
1415
import org.elasticsearch.common.settings.IndexScopedSettings;
1516
import org.elasticsearch.common.settings.Settings;
@@ -28,6 +29,7 @@ public class ExampleRestHandlerPlugin extends Plugin implements ActionPlugin {
2829

2930
@Override
3031
public List<RestHandler> getRestHandlers(final Settings settings,
32+
final NamedWriteableRegistry namedWriteableRegistry,
3133
final RestController restController,
3234
final ClusterSettings clusterSettings,
3335
final IndexScopedSettings indexScopedSettings,

0 commit comments

Comments
 (0)