Skip to content
Permalink
Browse files

Buggy code to show the issue

  • Loading branch information...
bluesalt committed Aug 4, 2017
1 parent 6a972c1 commit c12a3c2ab2e12de176f28919779cd48ef2aa13cf
Showing with 2 additions and 2 deletions.
  1. +2 −2 client.py
@@ -41,8 +41,8 @@

class RpcClient(object):
def __init__(self):
self.channel = grpc.insecure_channel('localhost:50051')
self.stub = helloworld_pb2_grpc.GreeterStub(self.channel)
channel = grpc.insecure_channel('localhost:50051')
self.stub = helloworld_pb2_grpc.GreeterStub(channel)

def say_hi(self ):
response = self.stub.SayHello(helloworld_pb2.HelloRequest(name='you'))

0 comments on commit c12a3c2

Please sign in to comment.
You can’t perform that action at this time.