diff --git a/senlinclient/tests/unit/v1/test_shell.py b/senlinclient/tests/unit/v1/test_shell.py index 628dbddf..c8ffecf4 100644 --- a/senlinclient/tests/unit/v1/test_shell.py +++ b/senlinclient/tests/unit/v1/test_shell.py @@ -1259,6 +1259,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 3dbf7f78..619e0ec5 100644 --- a/senlinclient/v1/shell.py +++ b/senlinclient/v1/shell.py @@ -1173,6 +1173,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)