diff options
| author | Josh Kearney <josh.kearney@rackspace.com> | 2011-01-06 18:12:22 -0600 |
|---|---|---|
| committer | Josh Kearney <josh.kearney@rackspace.com> | 2011-01-06 18:12:22 -0600 |
| commit | 6a162512cac5eafdbe46ba4df6117bfed6f40e4b (patch) | |
| tree | ce19196a32d3d1ba9e9e745d47112638178f371e /nova/api | |
| parent | 3dd9c56477078114bcd9b20a49a3413615539103 (diff) | |
| download | nova-6a162512cac5eafdbe46ba4df6117bfed6f40e4b.tar.gz nova-6a162512cac5eafdbe46ba4df6117bfed6f40e4b.tar.xz nova-6a162512cac5eafdbe46ba4df6117bfed6f40e4b.zip | |
Review feedback
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/servers.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py index ca2e5888b..9a62f2b96 100644 --- a/nova/api/openstack/servers.py +++ b/nova/api/openstack/servers.py @@ -223,4 +223,8 @@ class Controller(wsgi.Controller): """Permit Admins to retrieve server actions.""" ctxt = req.environ["nova.context"] items = self.compute_api.get_actions(ctxt, id) + # TODO(jk0): Do not do pre-serialization here once the default + # serializer is updated + for item in items: + item["date"] = str(item["date"]) return dict(actions=items) |
