Merge "failed to execute zun list command with limit parameter"

This commit is contained in:
Jenkins 2017-04-06 03:28:04 +00:00 committed by Gerrit Code Review
commit c89e00499a

View File

@ -42,7 +42,7 @@ class Collection(base.APIBase):
q_args = ''.join(['%s=%s&' % (key, kwargs[key]) for key in kwargs])
next_args = '?%(args)slimit=%(limit)d&marker=%(marker)s' % {
'args': q_args, 'limit': limit,
'marker': self.collection[-1].uuid}
'marker': self.collection[-1]['uuid']}
return link.make_link('next', pecan.request.host_url,
resource_url, next_args).href
resource_url, next_args)['href']