session-show status and result error, and add session_tag

There are errors about status and result.
There is a lack of session_tag in session-show command.'
w

Change-Id: I2076d1e5a7b04ad155ebe0250dadd8906987ccd0
This commit is contained in:
gengchc2 2018-10-29 19:36:05 -07:00
parent 2e8fda536a
commit 026ae218b6

View File

@ -42,6 +42,7 @@ class SessionShow(show.ShowOne):
column = (
'Session ID',
'Session tag',
'Description',
'Status',
'Result',
@ -57,9 +58,10 @@ class SessionShow(show.ShowOne):
data = (
session.get('session_id'),
session.get('session_tag'),
session.get('description'),
session.get('result'),
session.get('status'),
session.get('result'),
pprint.pformat(session.get('jobs')),
session.get('hold_off'),
pprint.pformat(session.get('schedule')),