Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion haproxy/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ def filter_path(path):
"""

def filter_func(log_line):
return path in log_line.http_request_path
http_request_path = log_line.http_request_path
if http_request_path:
return path in log_line.http_request_path

return filter_func

Expand Down