mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Add comment for ConvertRangeToIntRange (#13898)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>pull/13921/head
parent
9a7428243f
commit
9672c4d7d0
|
@ -397,6 +397,7 @@ func (gp *BaseTable) ParseIntWithDefault(key string, defaultValue int) int {
|
|||
|
||||
// package methods
|
||||
|
||||
// ConvertRangeToIntRange converts a range of strings to a range of ints.
|
||||
func ConvertRangeToIntRange(rangeStr, sep string) []int {
|
||||
items := strings.Split(rangeStr, sep)
|
||||
if len(items) != 2 {
|
||||
|
|
Loading…
Reference in New Issue