Skip to content

Commit 6b89913

Browse files
authored
fix(storage): configure gRPC channel w Options (#8835)
1 parent 7bdc41a commit 6b89913

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

google/cloud/storage/internal/storage_stub_factory.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ namespace {
3434
std::shared_ptr<grpc::Channel> CreateGrpcChannel(
3535
google::cloud::internal::GrpcAuthenticationStrategy& auth,
3636
Options const& options, int channel_id) {
37-
grpc::ChannelArguments args;
38-
// Just configure for the regular path.
37+
auto args = internal::MakeChannelArguments(options);
3938
args.SetInt("grpc.channel_id", channel_id);
4039
return auth.CreateChannel(options.get<EndpointOption>(), std::move(args));
4140
}

0 commit comments

Comments
 (0)