#2073 Fix CheckDBConfigBackendUrl error message (#2074)

Signed-off-by: jinhai <hai.jin@zilliz.com>
pull/2082/head
Jin Hai 2020-04-25 09:31:25 +08:00 committed by GitHub
parent c0d5a47eba
commit 723b10600b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ Please mark all change in change log and use the issue from GitHub
## Bug
- \#1705 Limit the insert data batch size
- \#1929 Skip MySQL meta schema field width check
- \#2073 Fix CheckDBConfigBackendUrl error message
## Feature
- \#1965 FAISS/NSG/HNSW/ANNOY use unified distance calculation algorithm

View File

@ -891,7 +891,7 @@ Config::CheckDBConfigBackendUrl(const std::string& value) {
std::string msg =
"Invalid backend url: " + value + ". Possible reason: db_config.db_backend_url is invalid. " +
"The correct format should be like sqlite://:@:/ or mysql://root:123456@127.0.0.1:3306/milvus.";
return Status(SERVER_INVALID_ARGUMENT, "invalid db_backend_url: " + value);
return Status(SERVER_INVALID_ARGUMENT, msg);
}
return Status::OK();
}