Add BlockerFromDynamics function

This commit is contained in:
ionutboangiu
2022-04-21 18:57:17 +03:00
committed by Dan Christian Bogos
parent 833810932b
commit 729c5ca29b

View File

@@ -110,7 +110,7 @@ func MatchingItemIDsForEvent(ctx *context.Context, ev utils.MapStorage, stringFl
return
}
// Weight returns weight of the first matching DynamicWeight
// Weight returns the weight specified by the first matching DynamicWeight
func WeightFromDynamics(ctx *context.Context, dWs []*utils.DynamicWeight,
fltrS *FilterS, tnt string, ev utils.DataProvider) (wg float64, err error) {
for _, dW := range dWs {