未验证 提交 54c9386b 编写于 作者: J Jin Hai 提交者: GitHub

#2076 CheckMetricConfigAddress error message (#2077)

Signed-off-by: Njinhai <hai.jin@zilliz.com>
上级 723b1060
......@@ -9,6 +9,8 @@ Please mark all change in change log and use the issue from GitHub
- \#1929 Skip MySQL meta schema field width check
- \#2073 Fix CheckDBConfigBackendUrl error message
- \#2076 CheckMetricConfigAddress error message
## Feature
- \#1965 FAISS/NSG/HNSW/ANNOY use unified distance calculation algorithm
- \#2064 Warn when use SQLite as metadata management
......
......@@ -1093,7 +1093,7 @@ Status
Config::CheckMetricConfigAddress(const std::string& value) {
if (!ValidationUtil::ValidateIpAddress(value).ok()) {
std::string msg = "Invalid metric ip: " + value + ". Possible reason: metric_config.ip is invalid.";
return Status(SERVER_INVALID_ARGUMENT, "Invalid metric config ip: " + value);
return Status(SERVER_INVALID_ARGUMENT, msg);
}
return Status::OK();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册