Fix the error of parameter passing

Change-Id: Ia32c2262d4d871c31b141c23e8f49bade7720a8a
Signed-off-by: ZijianGuo <guozijn@gmail.com>
This commit is contained in:
ZijianGuo 2020-07-08 17:08:29 +08:00
parent db7f5cd9fb
commit 27a628f03b

View File

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