Merge lp:~ironcamel/nova/http-error-codes into lp:~hudson-openstack/nova/trunk
Proposed by
Naveed Massjouni
Status: | Merged |
---|---|
Approved by: | Jay Pipes |
Approved revision: | 762 |
Merged at revision: | 772 |
Proposed branch: | lp:~ironcamel/nova/http-error-codes |
Merge into: | lp:~hudson-openstack/nova/trunk |
Diff against target: |
114 lines (+40/-21) 3 files modified
nova/api/openstack/common.py (+8/-5) nova/tests/api/openstack/test_common.py (+4/-16) nova/tests/api/openstack/test_servers.py (+28/-0) |
To merge this branch: | bzr merge lp:~ironcamel/nova/http-error-codes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jay Pipes (community) | Approve | ||
Rick Harris (community) | Approve | ||
Todd Willey (community) | Approve | ||
Titan | Pending | ||
Review via email: mp+52492@code.launchpad.net |
Description of the change
Fixes bug #729400. Invalid values for offset and limit params in http requests now return a 400 response with a useful message in the body. Also added and updated tests.
To post a comment you must log in.
Can this logic be packaged into a reusable function? DRY :-)