Skip to content

Commit

Permalink
Fluster test report: fix field width variable
Browse files Browse the repository at this point in the history
Signed-off-by: Jeny Sadadia <[email protected]>
  • Loading branch information
Jeny Sadadia authored and spbnick committed Sep 20, 2024
1 parent 0c7a909 commit c862bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kcidb/templates/fluster_test.j2
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
{% set ns.max_test_count = [statuses_counts.values() | sum, ns.max_test_count] | max %}
{% endfor %}
{% endfor %}
{% set field_width = ( ns.max_test_count + 1 ) | string %}
{% set field_width = ( ns.max_test_count + 1 ) | string | length | string %}
{% for board, titles_statuses_counts in boards_titles_statuses_counts | dictsort %}
{{- "\n" + indent + board + ":\n" -}}
{% for title in test_names_titles.values() | sort %}
Expand Down

0 comments on commit c862bbf

Please sign in to comment.