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:
parent
2e8fda536a
commit
026ae218b6
@ -42,6 +42,7 @@ class SessionShow(show.ShowOne):
|
|||||||
|
|
||||||
column = (
|
column = (
|
||||||
'Session ID',
|
'Session ID',
|
||||||
|
'Session tag',
|
||||||
'Description',
|
'Description',
|
||||||
'Status',
|
'Status',
|
||||||
'Result',
|
'Result',
|
||||||
@ -57,9 +58,10 @@ class SessionShow(show.ShowOne):
|
|||||||
|
|
||||||
data = (
|
data = (
|
||||||
session.get('session_id'),
|
session.get('session_id'),
|
||||||
|
session.get('session_tag'),
|
||||||
session.get('description'),
|
session.get('description'),
|
||||||
session.get('result'),
|
|
||||||
session.get('status'),
|
session.get('status'),
|
||||||
|
session.get('result'),
|
||||||
pprint.pformat(session.get('jobs')),
|
pprint.pformat(session.get('jobs')),
|
||||||
session.get('hold_off'),
|
session.get('hold_off'),
|
||||||
pprint.pformat(session.get('schedule')),
|
pprint.pformat(session.get('schedule')),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user