From c6f4660b15e064b17c88288f8f81faf43536fbc9 Mon Sep 17 00:00:00 2001 From: JinHai-CN Date: Tue, 7 Apr 2020 10:35:34 +0800 Subject: [PATCH] Fix compile error Signed-off-by: JinHai-CN --- sdk/grpc/GrpcClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/grpc/GrpcClient.cpp b/sdk/grpc/GrpcClient.cpp index 8812fda16b..bd4141f551 100644 --- a/sdk/grpc/GrpcClient.cpp +++ b/sdk/grpc/GrpcClient.cpp @@ -57,7 +57,7 @@ bool GrpcClient::HasCollection(const ::milvus::grpc::TableName& collection_name, Status& status) { ClientContext context; ::milvus::grpc::BoolReply response; - ::grpc::Status grpc_status = stub_->HasCollection(&context, collection_name, &response); + ::grpc::Status grpc_status = stub_->HasTable(&context, collection_name, &response); if (!grpc_status.ok()) { std::cerr << "HasCollection gRPC failed!" << std::endl;