141
141
"""Paginate through results from glance server"""
142
142
images = fetch_func(**kwargs)
147
145
# break out of recursive loop to end pagination
151
152
# attempt to advance the marker in order to fetch next page
152
153
kwargs['marker'] = images[-1]['id']
154
155
raise exception.ImagePaginationFailed()
158
169
def show(self, context, image_id):
159
170
"""Returns a dict with image data for the given opaque image id."""