aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/pb
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2016-05-23 09:58:27 -0700
committerGravatar murgatroid99 <mlumish@google.com>2016-05-23 09:58:27 -0700
commitfb2877d4c8ea9762109d9bb7e1adeddd948af0c8 (patch)
treeabce68441c56a9fc1a9ba54822d2fd4ed9844f6e /src/ruby/pb
parentae34a370e321f2dc24ae9b391fe03bbd09cb881e (diff)
Updated ruby interop client with keyword argument changes
Diffstat (limited to 'src/ruby/pb')
-rwxr-xr-xsrc/ruby/pb/test/client.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ruby/pb/test/client.rb b/src/ruby/pb/test/client.rb
index 95b059a18e..feedcde7a5 100755
--- a/src/ruby/pb/test/client.rb
+++ b/src/ruby/pb/test/client.rb
@@ -114,7 +114,9 @@ def create_stub(opts)
if opts.secure
creds = ssl_creds(opts.use_test_ca)
stub_opts = {
- GRPC::Core::Channel::SSL_TARGET => opts.host_override
+ channel_args: {
+ GRPC::Core::Channel::SSL_TARGET => opts.host_override
+ }
}
# Add service account creds if specified