Fix error in "action list"
modify formatters from "target" to "target_id" Closed-Bug: 1629171 Change-Id: I97d91c33e1db99fe44454be9344182c16f08f22a
This commit is contained in:
@@ -94,7 +94,7 @@ class ListAction(command.Lister):
|
||||
formatters['depended_by'] = f_depby
|
||||
else:
|
||||
formatters['id'] = lambda x: x[:8]
|
||||
formatters['target'] = lambda x: x[:8]
|
||||
formatters['target_id'] = lambda x: x[:8]
|
||||
f_depon = lambda x: '\n'.join(a[:8] for a in x)
|
||||
f_depby = lambda x: '\n'.join(a[:8] for a in x)
|
||||
formatters['depends_on'] = f_depon
|
||||
|
||||
Reference in New Issue
Block a user