Merge lp:~rackspace-titan/nova/lp795045 into lp:~hudson-openstack/nova/trunk
Proposed by
William Wolf
Status: | Merged |
---|---|
Approved by: | Brian Lamar |
Approved revision: | 1172 |
Merged at revision: | 1173 |
Proposed branch: | lp:~rackspace-titan/nova/lp795045 |
Merge into: | lp:~hudson-openstack/nova/trunk |
Diff against target: |
112 lines (+34/-2) 2 files modified
nova/api/openstack/server_metadata.py (+9/-2) nova/tests/api/openstack/test_server_metadata.py (+25/-0) |
To merge this branch: | bzr merge lp:~rackspace-titan/nova/lp795045 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brian Lamar (community) | Approve | ||
Devin Carlen (community) | Approve | ||
Review via email: mp+64253@code.launchpad.net |
Description of the change
This fixes the server_metadata create and update functions that were returning req.body (as a string) instead of body (deserialized body dictionary object). It also adds checks where appropriate to make sure that body is not empty (and return 400 if it is). Tests updated/added where appropriate.
To post a comment you must log in.
lgtm