Fix compile error

Signed-off-by: JinHai-CN <hai.jin@zilliz.com>
pull/1878/head
JinHai-CN 2020-04-07 10:35:34 +08:00
parent c824c297c1
commit c6f4660b15
1 changed files with 1 additions and 1 deletions

View File

@ -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;