summaryrefslogtreecommitdiff
path: root/designateclient
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-07-25 03:10:31 +0000
committerGerrit Code Review <review@openstack.org>2018-07-25 03:10:31 +0000
commit200f5192fdaf1abe982fadd1344f756c760a0414 (patch)
tree09451a48af8ca6bb4643524e9070c040fa23b160 /designateclient
parent9f70179a3dfac5f7c1be5062e8552cdad544ea2d (diff)
parent19e43432c3bda75b0f688acca01b984225709cf5 (diff)
downloadpython-designateclient-200f5192fdaf1abe982fadd1344f756c760a0414.tar.gz
Merge "server-get/update show wrong values about 'id' and 'update_at'"rocky-em2.10.0
Diffstat (limited to 'designateclient')
-rw-r--r--designateclient/cli/base.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/designateclient/cli/base.py b/designateclient/cli/base.py
index cfef83f..af4f2de 100644
--- a/designateclient/cli/base.py
+++ b/designateclient/cli/base.py
@@ -125,17 +125,17 @@ class ListCommand(Command, command.Lister):
class GetCommand(Command, command.ShowOne):
def post_execute(self, results):
- return list(six.iterkeys(results)), list(six.itervalues(results))
+ return results.keys(), results.values()
class CreateCommand(Command, command.ShowOne):
def post_execute(self, results):
- return list(six.iterkeys(results)), list(six.itervalues(results))
+ return results.keys(), results.values()
class UpdateCommand(Command, command.ShowOne):
def post_execute(self, results):
- return list(six.iterkeys(results)), list(six.itervalues(results))
+ return results.keys(), results.values()
class DeleteCommand(Command, command.ShowOne):