diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e4a0278cd1b41b9361a9f4fb032c3301044100a..4d7b1351faf2bb5d8ce0de4766e128c9f9d8bfef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/core/src/config/Config.cpp b/core/src/config/Config.cpp index cbf936111b065a2714913030443b2f3cc9cace98..8c8f043511463840c5111adecf5915b505559182 100644 --- a/core/src/config/Config.cpp +++ b/core/src/config/Config.cpp @@ -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(); }