v3 consoles's index return extra 'console' key in response

Bug #1224294 reported by Alex Xu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Alex Xu

Bug Description

Currently the response of index was:

{'consoles': [{'console': {'id':1, .....}}, {'console': {'id':2, ....}}, .....]}

it should be:
{'consoles': [{'id':1, .....}, {'id':2, ....}, .....]}

Same problem for xml

Tags: api
Alex Xu (xuhj)
Changed in nova:
assignee: nobody → Alex Xu (xuhj)
Revision history for this message
Alex Xu (xuhj) wrote :
Matt Riedemann (mriedem)
tags: added: api
Changed in nova:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → havana-rc1
Changed in nova:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/46198
Committed: http://github.com/openstack/nova/commit/2449c0a7ddf60a120f322fc060929acc3b899507
Submitter: Jenkins
Branch: master

commit 2449c0a7ddf60a120f322fc060929acc3b899507
Author: He Jie Xu <email address hidden>
Date: Thu Sep 12 14:29:27 2013 +0800

    Remove extra 'console' key for index in extensions consoles v3

    Fix bug 1224294

    * remove the extra 'console' key
    * remove xml template serializer, because default serializer is enough

    Change-Id: If6f17ea7301a06fa6f9400549f875aebdef2ee93

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-rc1 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.