diff --git a/senlinclient/tests/unit/v1/test_shell.py b/senlinclient/tests/unit/v1/test_shell.py index 4471219c..cb97c288 100644 --- a/senlinclient/tests/unit/v1/test_shell.py +++ b/senlinclient/tests/unit/v1/test_shell.py @@ -1266,6 +1266,8 @@ class ShellTest(testtools.TestCase): 'outputs': utils.json_formatter, 'metadata': utils.json_formatter, 'data': utils.json_formatter, + 'depends_on': utils.list_formatter, + 'depended_by': utils.list_formatter, } sh.do_action_show(service, args) service.get_action.assert_called_once_with('action_id') diff --git a/senlinclient/v1/shell.py b/senlinclient/v1/shell.py index ce0480ba..e17adc13 100644 --- a/senlinclient/v1/shell.py +++ b/senlinclient/v1/shell.py @@ -1181,6 +1181,8 @@ def do_action_show(service, args): 'outputs': utils.json_formatter, 'metadata': utils.json_formatter, 'data': utils.json_formatter, + 'depends_on': utils.list_formatter, + 'depended_by': utils.list_formatter, } utils.print_dict(action.to_dict(), formatters=formatters)