'all_tenants' 'all_projects' query param is not only integer as mentioned in api-ref
Bug #1734427 reported by
Ghanshyam Mann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Ghanshyam Mann |
Bug Description
'all_tenants' and 'all_projects' are query param to list the resources for all tenants/projects.
Checking of this query param in code is different in different APIs.
- GET /servers API checks the value of 'all_tenants' as bool[1].
- other APIs just checks the present of it in req, like GET /os-server-groups, /os-fping
api-ref mentioned this param types as integer, boolean or string.
It is good to mention this query param type consistently to avoid confusion for users.
Changed in nova: | |
assignee: | nobody → Ghanshyam Mann (ghanshyammann) |
tags: | added: api-ref |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/522918
Review: https:/