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:
@@ -266,6 +266,10 @@ func buildFilterQuery(filter *models.RouteFilter) string {
|
||||
filterQuery := ""
|
||||
|
||||
filterQueries := []string{}
|
||||
if filter.Path != "" {
|
||||
filterQueries = append(filterQueries, fmt.Sprintf("path = '%s'", filter.Path))
|
||||
}
|
||||
|
||||
if filter.AppName != "" {
|
||||
filterQueries = append(filterQueries, fmt.Sprintf("app_name = '%s'", filter.AppName))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user