forked from TrueCloudLab/frostfs-testcases
[#166] Fixed arguments order in get_filtered_logs
Fixed arguments order in get_filtered_logs Signed-off-by: Mikhail Kadilov <m.kadilov@yadro.com>
This commit is contained in:
parent
71bb73a410
commit
05d592e583
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
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}"):
|
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:
|
if not logs:
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in a new issue