commit b63c28b7276d4c320fde8f481f61611d28278900
Author: Steven Kaufer <email address hidden>
Date: Thu Mar 6 17:20:50 2014 +0000
Include next link when default limit is reached
The /volumes and /volumes/details APIs support pagination and a
"next" link should be included when more data is available. When
the default "osapi_max" limit is reached then the "next" link is
not included in the API reply. In this case, the caller cannot
determine if there are any more volumes and has no marker value
such that they can retrieve the rest of the volumes.
The fix for this is to include the "next" link when the number of
volumes being returned is the maximum limit, even if the "limit"
parameter is not supplied.
Reviewed: https:/ /review. openstack. org/78678 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=b63c28b7276 d4c320fde8f481f 61611d28278900
Committed: https:/
Submitter: Jenkins
Branch: master
commit b63c28b7276d4c3 20fde8f481f6161 1d28278900
Author: Steven Kaufer <email address hidden>
Date: Thu Mar 6 17:20:50 2014 +0000
Include next link when default limit is reached
The /volumes and /volumes/details APIs support pagination and a
"next" link should be included when more data is available. When
the default "osapi_max" limit is reached then the "next" link is
not included in the API reply. In this case, the caller cannot
determine if there are any more volumes and has no marker value
such that they can retrieve the rest of the volumes.
The fix for this is to include the "next" link when the number of
volumes being returned is the maximum limit, even if the "limit"
parameter is not supplied.
Change-Id: I2f04192e67f802 32b4019194f7186 25dbaf78fa6
Closes-bug: 1288429