diff --git a/internal/metricRouter/metricAggregatorFunctions.go b/internal/metricRouter/metricAggregatorFunctions.go index 4133a4b..f00479d 100644 --- a/internal/metricRouter/metricAggregatorFunctions.go +++ b/internal/metricRouter/metricAggregatorFunctions.go @@ -53,7 +53,7 @@ func minfunc(args ...interface{}) (interface{}, error) { } return s, nil case []int: - var s int = math.MaxInt + var s int = int(math.MaxInt32) for _, x := range values { if x < s { s = x