Skip to content

Commit b0c1383

Browse files
robertoduessmannjvmlet
authored andcommitted
Set grpc internal config bean name to avoid injections issues (#130)
1 parent ae5b391 commit b0c1383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grpc-spring-boot-starter/src/main/java/org/lognet/springboot/grpc/autoconfigure/GRpcAutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public GRpcServerBuilderConfigurer serverBuilderConfigurer(){
6161
return new GRpcServerBuilderConfigurer();
6262
}
6363

64-
@Bean("grpcInternalConfigurator")
64+
@Bean(name = "grpcInternalConfigurator")
6565
public Consumer<ServerBuilder<?>> configurator(GRpcServerBuilderConfigurer configurer){
6666
return serverBuilder -> {
6767
if(grpcServerProperties.isEnabled()){

0 commit comments

Comments
 (0)