From 95479526ef91e6939db7120fcc84175ababc577f Mon Sep 17 00:00:00 2001 From: Michael Banck Date: Tue, 26 Oct 2021 15:12:10 +0200 Subject: [PATCH] Fix typo (#2091) --- patroni/ctl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patroni/ctl.py b/patroni/ctl.py index 13a156ce..10b07a69 100644 --- a/patroni/ctl.py +++ b/patroni/ctl.py @@ -1302,8 +1302,8 @@ def history(obj, cluster_name, fmt): table_header_row = ['TL', 'LSN', 'Reason', 'Timestamp', 'New Leader'] for line in history: if len(line) < len(table_header_row): - add_coloumn_num = len(table_header_row) - len(line) - for _ in range(add_coloumn_num): + add_column_num = len(table_header_row) - len(line) + for _ in range(add_column_num): line.append('') print_output(table_header_row, history, {'TL': 'r', 'LSN': 'r'}, fmt)