yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #38471
[Bug 794730] Re: API doesn't specify what limit=0 means
Sorry to try and bring this one back to life, but i'm just not sure that
its really invalid. Marked https://bugs.launchpad.net/nova/+bug/1494617
as duplicate.
Seems that for the images api this now implements the empty list .
However I think that for flavors and servers api Ithat the behavior is
still to use limit=0 as max_limit. These should one day be consistent?
At the very least we should change the comments in
http://git.openstack.org/cgit/openstack/nova/tree/nova/api/openstack/common.py#n206
to represent the new behavior.
** Changed in: nova
Status: Invalid => Confirmed
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/794730
Title:
API doesn't specify what limit=0 means
Status in OpenStack Compute (nova):
Confirmed
Bug description:
An http request like /v1.1/images?limit=0 returns all images
available. It should return an empty container.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/794730/+subscriptions