Skip to content

Commit

Permalink
fix(quality_gates): for python lower than 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Pythyu committed Feb 4, 2025
1 parent 7dc4274 commit 384e4b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/quality_gates.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def getMetric(metric_name, gate_name=gate['name']):
with_info = True
else:
body_error += f"|{FAIL_CHAR}|{gate['name']}|{getMetric('current_on_disk_size')}|{getMetric('max_on_disk_size')}|{getMetric('current_on_wire_size')}|{getMetric('max_on_wire_size')}|\n"
body_error_footer += f"|{gate['name']}|{gate['error_type']}|{gate['message'].replace("\n", "<br>")}|\n"
body_error_footer += f"|{gate['name']}|{gate['error_type']}|{gate['message'].replace('\n', '<br>')}|\n"
with_error = True

body_error_footer += "\n</details>\n"
Expand Down

0 comments on commit 384e4b8

Please sign in to comment.