Skip to content

Commit 7874b8f

Browse files
jipanyanglguohan
authored andcommitted
Update restart_count to restore_count for warm restart (sonic-net#326)
Signed-off-by: Jipan Yang <[email protected]>
1 parent 7a51a85 commit 7874b8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

show/main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1441,7 +1441,7 @@ def remove_prefix(text, prefix):
14411441
entry = db.get_all(db.STATE_DB, tk)
14421442
r = []
14431443
r.append(remove_prefix(tk, prefix))
1444-
r.append(entry['restart_count'])
1444+
r.append(entry['restore_count'])
14451445

14461446
if 'state' not in entry:
14471447
r.append("")
@@ -1450,7 +1450,7 @@ def remove_prefix(text, prefix):
14501450

14511451
table.append(r)
14521452

1453-
header = ['name', 'restart_count', 'state']
1453+
header = ['name', 'restore_count', 'state']
14541454
click.echo(tabulate(table, header))
14551455

14561456
@warm_restart.command()

0 commit comments

Comments
 (0)