Skip to content

Commit

Permalink
Fixes autoconfiguration to accept standard version of "inProcessServe…
Browse files Browse the repository at this point in the history
…rName" property name (#368)

Co-authored-by: nikola.malenic <nikola.malenic@netsetglobal.rs>
  • Loading branch information
Sarrruman and nikola.malenic committed Jul 26, 2023
1 parent 145e4b8 commit de17cd0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public GRpcServerRunner grpcServerRunner(@Qualifier("grpcInternalConfigurator")
}

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

1 comment on commit de17cd0

@Sarrruman
Copy link
Contributor Author

@Sarrruman Sarrruman commented on de17cd0 Jul 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closes #369

Please sign in to comment.