We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19bea77 commit 42cde18Copy full SHA for 42cde18
2 files changed
otcextensions/osclient/dns/v2/zone.py
@@ -63,7 +63,7 @@ def take_action(self, parsed_args):
63
query = {}
64
65
if parsed_args.type:
66
- query['type'] = parsed_args.type
+ query['zone_type'] = parsed_args.type
67
68
data = client.zones(**query)
69
otcextensions/tests/unit/osclient/dns/v2/test_zone.py
@@ -82,7 +82,7 @@ def test_default_query(self):
82
columns, data = self.cmd.take_action(parsed_args)
83
84
self.client.api_mock.assert_called_once_with(
85
- type='private'
+ zone_type='private'
86
)
87
88
self.assertEqual(self.columns, columns)
0 commit comments