mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Grammar correction (#13738)
Signed-off-by: cxytz01 <xueyou.chen@zilliz.com>pull/13806/head
parent
35ab21372b
commit
fcddbc2401
|
@ -37,7 +37,7 @@ static const auto metric_bimap = [] {
|
|||
|
||||
MetricType
|
||||
GetMetricType(const std::string& type_name) {
|
||||
// Assume Metric is all upper at knowhere
|
||||
// Assume Metric is all upper at Knowhere
|
||||
auto real_name = to_upper_copy(type_name);
|
||||
AssertInfo(metric_bimap.left.count(real_name), "metric type not found: (" + type_name + ")");
|
||||
return metric_bimap.left.at(real_name);
|
||||
|
|
Loading…
Reference in New Issue