Rule filter impl (mock)
This commit is contained in:
parent
4a4702d6cd
commit
e21d18d359
|
@ -11,6 +11,8 @@ func New(name, impl string) *Impl {
|
|||
switch impl {
|
||||
case "units.throttler.Throttler":
|
||||
return Throttler(name)
|
||||
case "units.rule_filter.RuleFilter":
|
||||
return Echo(name)
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue