mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
refactor runner using titan
This commit is contained in:
@@ -17,5 +17,6 @@ func ApplyAppFilter(app *App, filter *AppFilter) bool {
|
||||
}
|
||||
|
||||
func ApplyRouteFilter(route *Route, filter *RouteFilter) bool {
|
||||
return true
|
||||
return (filter.Path != "" && route.Path == filter.Path) &&
|
||||
(filter.AppName != "" && route.AppName == filter.AppName)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user