aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/ruby/route_guide/route_guide_client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ruby/route_guide/route_guide_client.rb')
-rwxr-xr-xexamples/ruby/route_guide/route_guide_client.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ruby/route_guide/route_guide_client.rb b/examples/ruby/route_guide/route_guide_client.rb
index baef0e502b..715a3c08c5 100755
--- a/examples/ruby/route_guide/route_guide_client.rb
+++ b/examples/ruby/route_guide/route_guide_client.rb
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-# Copyright 2015, Google Inc.
+# Copyright 2015-2016, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -147,7 +147,7 @@ def run_route_chat(stub)
end
def main
- stub = RouteGuide::Stub.new('localhost:50051')
+ stub = RouteGuide::Stub.new('localhost:50051', :this_channel_is_insecure)
run_get_feature(stub)
run_list_features(stub)
run_route_chat(stub)