Fix target ID display when listing actions
The target ID is supposed to be shown in a short format by default, but recent changes to SDK has broken this. This patch fixes it. Change-Id: Ie0df7b66bb00bb0ad95023e85594146a0356cc7d
This commit is contained in:
parent
0a8dd4c92e
commit
51bb459451
|
@ -1529,7 +1529,7 @@ def do_action_list(service, args):
|
|||
formatters['depended_by'] = f_depby
|
||||
else:
|
||||
formatters['id'] = lambda x: x.id[:8]
|
||||
formatters['target'] = lambda x: x.target_id[:8]
|
||||
formatters['target_id'] = lambda x: x.target_id[:8]
|
||||
f_depon = lambda x: '\n'.join(a[:8] for a in x.depends_on)
|
||||
f_depby = lambda x: '\n'.join(a[:8] for a in x.depended_by)
|
||||
formatters['depends_on'] = f_depon
|
||||
|
|
Loading…
Reference in New Issue