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
This commit is contained in:
sloblee
2016-11-30 17:46:21 +08:00
parent 3710127a5f
commit 3a469df201

View File

@@ -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