提交 c6f4660b 编写于 作者: J JinHai-CN

Fix compile error

Signed-off-by: NJinHai-CN <hai.jin@zilliz.com>
上级 c824c297
...@@ -57,7 +57,7 @@ bool ...@@ -57,7 +57,7 @@ bool
GrpcClient::HasCollection(const ::milvus::grpc::TableName& collection_name, Status& status) { GrpcClient::HasCollection(const ::milvus::grpc::TableName& collection_name, Status& status) {
ClientContext context; ClientContext context;
::milvus::grpc::BoolReply response; ::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()) { if (!grpc_status.ok()) {
std::cerr << "HasCollection gRPC failed!" << std::endl; std::cerr << "HasCollection gRPC failed!" << std::endl;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册