mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
refine code
Former-commit-id: b9b9ef25426ad7908fad62f462f24dd52c737de6
This commit is contained in:
commit
54484d79ce
@ -99,7 +99,7 @@ ValidationUtil::ValidateTableIndexType(int32_t index_type) {
|
||||
Status
|
||||
ValidationUtil::ValidateTableIndexNlist(int32_t nlist) {
|
||||
if (nlist <= 0) {
|
||||
std::string msg = "Invalid nlist value: " + std::to_string(nlist);
|
||||
std::string msg = "nlist value should be greater than 0";
|
||||
SERVER_LOG_ERROR << msg;
|
||||
return Status(SERVER_INVALID_INDEX_NLIST, msg);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user