rename lua filter func
This commit is contained in:
parent
ca9ed70ce3
commit
452fc9097f
1 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@ func getFilterResult(filters []Filter, filter *Filter, watch *Watch, web *Web, d
|
|||
}
|
||||
case filter.Type == "lua":
|
||||
{
|
||||
luaFilter(filter)
|
||||
getFilterResultLua(filter)
|
||||
}
|
||||
case filter.Type == "cron":
|
||||
{
|
||||
|
@ -798,7 +798,7 @@ func triggerSchedule(watchID uint, web *Web) {
|
|||
processFilters(filters, web, watch, false)
|
||||
}
|
||||
|
||||
func luaFilter(filter *Filter) {
|
||||
func getFilterResultLua(filter *Filter) {
|
||||
L := lua.NewState()
|
||||
defer L.Close()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue