Skip to content

Commit de17cd0

Browse files
Sarrrumannikola.malenic
andauthored
Fixes autoconfiguration to accept standard version of "inProcessServerName" property name (#368)
Co-authored-by: nikola.malenic <[email protected]>
1 parent 145e4b8 commit de17cd0

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
@@ -62,7 +62,7 @@ public GRpcServerRunner grpcServerRunner(@Qualifier("grpcInternalConfigurator")
6262
}
6363

6464
@Bean
65-
@ConditionalOnProperty(prefix = "grpc", name = "inProcessServerName")
65+
@ConditionalOnProperty(prefix = "grpc", name = "in-process-server-name")
6666
public GRpcServerRunner grpcInprocessServerRunner(@Qualifier("grpcInternalConfigurator") Consumer<ServerBuilder<?>> configurator,GRpcServerProperties gRpcServerProperties) {
6767
return new GRpcServerRunner(configurator, InProcessServerBuilder.forName(gRpcServerProperties.getInProcessServerName()));
6868
}

0 commit comments

Comments
 (0)