From 7874b8f939c0030755c578350a82f881e412f491 Mon Sep 17 00:00:00 2001 From: Jipan Yang Date: Tue, 9 Oct 2018 21:25:23 -0700 Subject: [PATCH] Update restart_count to restore_count for warm restart (#326) Signed-off-by: Jipan Yang --- show/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/show/main.py b/show/main.py index e1dbc035df57..97cbd73c3d2f 100755 --- a/show/main.py +++ b/show/main.py @@ -1441,7 +1441,7 @@ def remove_prefix(text, prefix): entry = db.get_all(db.STATE_DB, tk) r = [] r.append(remove_prefix(tk, prefix)) - r.append(entry['restart_count']) + r.append(entry['restore_count']) if 'state' not in entry: r.append("") @@ -1450,7 +1450,7 @@ def remove_prefix(text, prefix): table.append(r) - header = ['name', 'restart_count', 'state'] + header = ['name', 'restore_count', 'state'] click.echo(tabulate(table, header)) @warm_restart.command()