From 3a469df201556725cd25e78cdadfc0974465bcd0 Mon Sep 17 00:00:00 2001 From: sloblee Date: Wed, 30 Nov 2016 17:46:21 +0800 Subject: [PATCH] Show Created_at field while checkpoint-list/checkpoint-show Return the Created_at field when excuting the checkpoint-list command. Change-Id: I50178d3e787032af72c7fe33b6de206b1ff5a1ac Closes-Bug: #1578563 --- karborclient/v1/shell.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/karborclient/v1/shell.py b/karborclient/v1/shell.py index dc77b8d..0582009 100644 --- a/karborclient/v1/shell.py +++ b/karborclient/v1/shell.py @@ -684,7 +684,8 @@ def do_checkpoint_list(cs, args): marker=args.marker, limit=args.limit, sort_key=args.sort_key, sort_dir=args.sort_dir, sort=args.sort) - key_list = ['Id', 'Project id', 'Status', 'Protection plan', 'Metadata'] + key_list = ['Id', 'Project id', 'Status', 'Protection plan', 'Metadata', + 'Created at'] if args.sort_key or args.sort_dir or args.sort: sortby_index = None