From 2c208dc54f0250025cd0af494189ce843a576add Mon Sep 17 00:00:00 2001 From: Jeny Sadadia Date: Wed, 18 Sep 2024 18:00:30 +0530 Subject: [PATCH] Fluster test report: fix field width variable Signed-off-by: Jeny Sadadia --- kcidb/templates/fluster_test.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcidb/templates/fluster_test.j2 b/kcidb/templates/fluster_test.j2 index 39f39214..5d2c93e5 100644 --- a/kcidb/templates/fluster_test.j2 +++ b/kcidb/templates/fluster_test.j2 @@ -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 %}