mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 17:18:44 +05:00
Add BlockerFromDynamics function
This commit is contained in:
committed by
Dan Christian Bogos
parent
833810932b
commit
729c5ca29b
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user