> @@ -80,7 +84,15 @@ protected ToPagedIterable(GlanceApi api) {
> @SuppressWarnings("unchecked")
> @Override
> public IterableWithMarker<Image> apply(Object input) {
> - return
> IterableWithMarker.class.cast(imageApi.list(marker(input.toString())));
> + PaginationOptions paginationOptions =
> PaginationOptions.class.cast(input);
> + Collection<String> markers =
> paginationOptions.buildQueryParameters().get("marker");
> +
> + if (!markers.isEmpty()) {
> + return
> IterableWithMarker.class.cast(imageApi.listInDetail(marker(Iterables.get(markers,
> 0))));
Same question(s) as above.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/45/files#r7234664