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:
Louis Taylor 2015-03-06 13:18:11 +00:00
parent 0ab5a78d78
commit a9a692b351
1 changed files with 1 additions and 1 deletions

View File

@ -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