Merge lp:~blamar/nova/negative-limits-offsets into lp:~hudson-openstack/nova/trunk
Proposed by
Brian Lamar
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Rick Harris | ||||
Approved revision: | 752 | ||||
Merged at revision: | 756 | ||||
Proposed branch: | lp:~blamar/nova/negative-limits-offsets | ||||
Merge into: | lp:~hudson-openstack/nova/trunk | ||||
Diff against target: |
68 lines (+28/-1) 2 files modified
nova/api/openstack/common.py (+7/-1) nova/tests/api/openstack/test_common.py (+21/-0) |
||||
To merge this branch: | bzr merge lp:~blamar/nova/negative-limits-offsets | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Rick Harris (community) | Approve | ||
Devin Carlen (community) | Approve | ||
Review via email: mp+51818@code.launchpad.net |
Description of the change
Very simple change checking for < 0 values in "limit" and "offset" GET parameters. If either are negative, raise a HTTPBadRequest exception. Relevant tests included.
To post a comment you must log in.
lgtm