mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Fix compile error
Signed-off-by: JinHai-CN <hai.jin@zilliz.com>
This commit is contained in:
parent
c824c297c1
commit
c6f4660b15
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user