mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/storage: typo fixes in error messages: or -> of
This commit is contained in:
parent
bbf06a4248
commit
8c77cb436a
1 changed files with 2 additions and 2 deletions
|
@ -1893,7 +1893,7 @@ func (is *indexSearch) searchMetricIDs(tfss []*TagFilters, tr TimeRange, maxMetr
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if metricIDs.Len() > maxMetrics {
|
if metricIDs.Len() > maxMetrics {
|
||||||
return nil, fmt.Errorf("the number or unique timeseries exceeds %d; either narrow down the search or increase -search.maxUniqueTimeseries", maxMetrics)
|
return nil, fmt.Errorf("the number of unique timeseries exceeds %d; either narrow down the search or increase -search.maxUniqueTimeseries", maxMetrics)
|
||||||
}
|
}
|
||||||
// Stop the iteration, since we cannot find more metric ids with the remaining tfss.
|
// Stop the iteration, since we cannot find more metric ids with the remaining tfss.
|
||||||
break
|
break
|
||||||
|
@ -1902,7 +1902,7 @@ func (is *indexSearch) searchMetricIDs(tfss []*TagFilters, tr TimeRange, maxMetr
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if metricIDs.Len() > maxMetrics {
|
if metricIDs.Len() > maxMetrics {
|
||||||
return nil, fmt.Errorf("the number or matching unique timeseries exceeds %d; either narrow down the search or increase -search.maxUniqueTimeseries", maxMetrics)
|
return nil, fmt.Errorf("the number of matching unique timeseries exceeds %d; either narrow down the search or increase -search.maxUniqueTimeseries", maxMetrics)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if metricIDs.Len() == 0 {
|
if metricIDs.Len() == 0 {
|
||||||
|
|
Loading…
Reference in a new issue