Fixed arguments order in get_filtered_logs #166

Merged
abereziny merged 1 commit from :bug/log_analyzer_fix_for_ft into master 2023-12-06 10:01:44 +00:00

View file

@ -54,7 +54,7 @@ class TestLogs:
def _collect_logs_on_host(self, host: Host, logs_dir: str, regex: str, since: datetime, until: datetime, exclude_filter: str):
with reporter.step(f"Get logs from {host.config.address}"):
logs = host.get_filtered_logs(regex, since, until, exclude_filter)
logs = host.get_filtered_logs(filter_regex=regex, since=since, until=until, exclude_filter=exclude_filter)
if not logs:
return None