Skip to content

Commit

Permalink
GrpcPlugin constructor public. Rename GrpcModulePlugin -> GrpcPlugin.
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Carroll <[email protected]>
  • Loading branch information
finnegancarroll committed Dec 26, 2024
1 parent 5887ad9 commit c0b7f27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/transport-grpc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import org.gradle.api.attributes.java.TargetJvmEnvironment

opensearchplugin {
description 'gRPC based transport implementation'
classname 'org.opensearch.transport.grpc.GrpcModulePlugin'
classname 'org.opensearch.transport.grpc.GrpcPlugin'
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
/**
* Main class for the gRPC plugin.
*/
public final class GrpcModulePlugin extends Plugin implements NetworkPlugin {
public final class GrpcPlugin extends Plugin implements NetworkPlugin {

/**
* Creates a new GrpcModulePlugin instance.
* Creates a new GrpcPlugin instance.
*/
GrpcModulePlugin() {}
public GrpcPlugin() {}

Check warning on line 41 in plugins/transport-grpc/src/main/java/org/opensearch/transport/grpc/GrpcPlugin.java

View check run for this annotation

Codecov / codecov/patch

plugins/transport-grpc/src/main/java/org/opensearch/transport/grpc/GrpcPlugin.java#L41

Added line #L41 was not covered by tests

@Override
public Map<String, Supplier<AuxTransport>> getAuxTransports(
Expand Down

0 comments on commit c0b7f27

Please sign in to comment.