The calculation for the last item to be returned only worked as expected when there was no marker provided.
After applying the above proposed fix:
GET /tenants: http://paste.openstack.org/raw/18292/
GET /tenants with marker & limit applied: http://paste.openstack.org/raw/18293/
The calculation for the last item to be returned only worked as expected when there was no marker provided.
After applying the above proposed fix:
GET /tenants: http:// paste.openstack .org/raw/ 18292/
GET /tenants with marker & limit applied: http:// paste.openstack .org/raw/ 18293/