func()

in pkg/scheduler/metrics.go [44:52]


func (mc *mapCounter) Increment(m map[string]string, c int) {
	for i, v := range mc.values {
		if reflect.DeepEqual(v.Key, m) {
			mc.values[i].Value = v.Value + c
			return
		}
	}
	mc.values = append(mc.values, mapValue{Key: m, Value: c})
}