Merge pull request #13034 from krasimirgv/master

Fix initialization bug in channel creation
reviewable/pr12644/r6^2
Vijay Pai 7 years ago committed by GitHub
commit 3bae9134a6
  1. 3
      src/cpp/client/create_channel.cc

@ -38,8 +38,7 @@ std::shared_ptr<Channel> CreateCustomChannel(
const grpc::string& target,
const std::shared_ptr<ChannelCredentials>& creds,
const ChannelArguments& args) {
internal::GrpcLibrary
init_lib; // We need to call init in case of a bad creds.
GrpcLibraryCodegen init_lib; // We need to call init in case of a bad creds.
return creds
? creds->CreateChannel(target, args)
: CreateChannelInternal("", grpc_lame_client_channel_create(

Loading…
Cancel
Save