v2: read limit for list from --limit in shell
Previously this was read from the --page-size argument, which lead to incorrect behaviour. Change-Id: I08ecda95eca0ff524e28a1d5371ce6c73dfc548e Closes-Bug: #1429088
This commit is contained in:
parent
0ab5a78d78
commit
a9a692b351
|
@ -138,7 +138,7 @@ def do_image_list(gc, args):
|
|||
|
||||
kwargs = {'filters': filters}
|
||||
if args.limit is not None:
|
||||
kwargs['limit'] = args.page_size
|
||||
kwargs['limit'] = args.limit
|
||||
if args.page_size is not None:
|
||||
kwargs['page_size'] = args.page_size
|
||||
|
||||
|
|
Loading…
Reference in New Issue