Skip to content

Commit 1d7df43

Browse files
committed
Remove casting
Signed-off-by: Craig Perkins <[email protected]>
1 parent 1b234b5 commit 1d7df43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qa/smoke-test-http/src/test/java/org/opensearch/http/TestExecutionContextPlugin.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
public class TestExecutionContextPlugin extends Plugin implements ActionPlugin {
4141

42-
private Client client;
42+
private PluginAwareNodeClient client;
4343

4444
@Override
4545
public Collection<Object> createComponents(
@@ -63,6 +63,6 @@ public Collection<Object> createComponents(
6363
public List<RestHandler> getRestHandlers(Settings settings, RestController restController, ClusterSettings clusterSettings,
6464
IndexScopedSettings indexScopedSettings, SettingsFilter settingsFilter, IndexNameExpressionResolver indexNameExpressionResolver,
6565
Supplier<DiscoveryNodes> nodesInCluster) {
66-
return List.of(new TestGetExecutionContextRestAction((PluginAwareNodeClient) client));
66+
return List.of(new TestGetExecutionContextRestAction(client));
6767
}
6868
}

0 commit comments

Comments
 (0)