Merge "server-get/update show wrong values about 'id' and 'update_at'"

This commit is contained in:
Zuul
2018-07-25 03:10:31 +00:00
committed by Gerrit Code Review

View File

@@ -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):