queue's return 204 and no body when there are no queues
Bug #1379220 reported by
Flavio Percoco
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
Fix Released
|
Critical
|
Flavio Percoco |
Bug Description
Currently, Zaqar is returning 204 when there are no queues with an empty body. This is not consistent with the rest of the API and it does not respect the spec[0].
# Buffer list of queues
queues = list(next(results))
# Check for an empty list
if len(queues) == 0:
return
[0] https:/
Changed in zaqar: | |
assignee: | nobody → Flavio Percoco (flaper87) |
importance: | Undecided → Critical |
Changed in zaqar: | |
milestone: | none → juno-rc2 |
Changed in zaqar: | |
milestone: | juno-rc2 → 2014.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/127175
Review: https:/