Skip to content

Commit

Permalink
Update tmt/steps/report/reportportal.py
Browse files Browse the repository at this point in the history
Co-authored-by: Filip Vágner <[email protected]>
  • Loading branch information
thrix and therazix authored Nov 5, 2024
1 parent e247b5a commit e3a8b53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmt/steps/report/reportportal.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def _filter_log_per_size(data: str,
variable = "TMT_PLUGIN_REPORT_REPORTPORTAL_LOG_SIZE_LIMIT"
option = "--log-size-limit"
header = (f"WARNING: Uploaded log has been truncated because its size {size} bytes "
f"exceeds tmt reportportal plugin limit of {settings.size} bytes."
f"The limit is controlled with {option} plugin option or"
f"exceeds tmt reportportal plugin limit of {settings.size} bytes. "
f"The limit is controlled with {option} plugin option or "
f"{variable} environment variable.\n\n")
return f"{header}{data[:settings.size]}"
return data
Expand Down

0 comments on commit e3a8b53

Please sign in to comment.