From 777196355cb69350e5e819f00656f3543526ab44 Mon Sep 17 00:00:00 2001 From: Devoalda Date: Tue, 31 Oct 2023 10:41:36 +0800 Subject: [PATCH] feature(gRPC Client Update): Update Client to use DNS --- safeshare/safeshare_app/utils/safeshare_vdb_client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/safeshare/safeshare_app/utils/safeshare_vdb_client/client.py b/safeshare/safeshare_app/utils/safeshare_vdb_client/client.py index a473d35..78c0832 100644 --- a/safeshare/safeshare_app/utils/safeshare_vdb_client/client.py +++ b/safeshare/safeshare_app/utils/safeshare_vdb_client/client.py @@ -5,7 +5,7 @@ import dynamo_pb2_grpc as pb2_grpc class Client: def __init__(self): - self.channel = grpc.insecure_channel("localhost:50051") + self.channel = grpc.insecure_channel("http://safeshare-virus:50051") self.stub = pb2_grpc.Dynamo_DBStub(self.channel) def CheckFile(self, sha_256_id: str):