Fix the error of parameter passing
Change-Id: Ia32c2262d4d871c31b141c23e8f49bade7720a8a Signed-off-by: ZijianGuo <guozijn@gmail.com>
This commit is contained in:
parent
db7f5cd9fb
commit
27a628f03b
@ -564,8 +564,8 @@ class UpdateSubscription(command.ShowOne):
|
||||
'options': parsed_args.options}
|
||||
|
||||
kwargs = {'id': parsed_args.subscription_id}
|
||||
subscription = client.subscription(parsed_args.queue_name, kwargs,
|
||||
auto_create=False)
|
||||
subscription = client.subscription(parsed_args.queue_name,
|
||||
auto_create=False, **kwargs)
|
||||
|
||||
subscription.update(data)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user