Little fix in MatchingItemmIdsForEvent

This commit is contained in:
porosnicuadrian
2021-04-26 17:55:53 +03:00
committed by Dan Christian Bogos
parent e5062d3bd6
commit e30d8cc92d

View File

@@ -97,7 +97,8 @@ func MatchingItemIDsForEvent(ctx *context.Context, ev utils.MapStorage, stringFl
}
}
return
}, config.CgrConfig().GeneralCfg().LockingTimeout, lockID)
},
config.CgrConfig().GeneralCfg().LockingTimeout, lockID)
if len(itemIDs) == 0 {
return nil, utils.ErrNotFound
}