[UX] Align to left the table for the validations run results

All the PrettyTables are aligned to left and this patch standardizes all
the tables.

Change-Id: Ide062e65b0a76078b5d3ce55a60df3cb5be34a0e
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
(cherry picked from commit c6f22c1f3c)
(cherry picked from commit cdaf01d105)
This commit is contained in:
Gael Chamoulaud (Strider) 2020-11-30 12:40:09 +01:00 committed by Gael Chamoulaud
parent 1c8c80644e
commit de50061231
1 changed files with 1 additions and 0 deletions

View File

@ -374,6 +374,7 @@ class TripleOValidatorRun(command.Command):
t = PrettyTable(border=True, header=True, padding_width=1)
# Set Field name by getting the result dict keys
t.field_names = results[0].keys()
t.align = 'l'
for r in results:
if r.get('Status_by_Host'):
h = []