From 9672c4d7d0d5ff138f3b3878c6412f69c0feb65f Mon Sep 17 00:00:00 2001 From: shaoyue Date: Tue, 21 Dec 2021 21:04:25 +0800 Subject: [PATCH] [skip e2e] Add comment for ConvertRangeToIntRange (#13898) Signed-off-by: shaoyue.chen --- internal/util/paramtable/base_table.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/util/paramtable/base_table.go b/internal/util/paramtable/base_table.go index c7004d025c..0ddd8a012a 100644 --- a/internal/util/paramtable/base_table.go +++ b/internal/util/paramtable/base_table.go @@ -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 {