recommendationservice: add init message
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
c602594c37
commit
cca50463ee
1 changed files with 2 additions and 0 deletions
|
@ -31,7 +31,9 @@ class RecommendationService(demo_pb2_grpc.RecommendationServiceServicer):
|
|||
response = demo_pb2.ListRecommendationsResponse()
|
||||
response.product_ids.extend(prod_list)
|
||||
return response
|
||||
|
||||
if __name__ == "__main__":
|
||||
print("starting recommendationservice")
|
||||
try:
|
||||
sampler = always_on.AlwaysOnSampler()
|
||||
exporter = stackdriver_exporter.StackdriverExporter()
|
||||
|
|
Loading…
Reference in a new issue