Fix Secrets Filter

Fixes the algorithm and mode parameters in the secrets list
command to return the correct secrets based on the correct
arguments.

Change-Id: I3925562b29c765ca6a9d6c25708ceb50a1c628ed
Closes-Bug: #1510577
This commit is contained in:
Chris Solis 2015-10-27 11:06:44 -05:00
parent b247cff77d
commit 0b97754a3f
1 changed files with 2 additions and 2 deletions

View File

@ -118,8 +118,8 @@ class ListSecret(lister.Lister):
def take_action(self, args):
obj_list = self.app.client_manager.key_manager.secrets.list(
args.limit, args.offset, args.name, args.mode, args.algorithm,
args.bit_length)
limit=args.limit, offset=args.offset, name=args.name,
algorithm=args.algorithm, mode=args.mode, bits=args.bit_length)
return secrets.Secret._list_objects(obj_list)