Browse Source

Fix the error of parameter passing

Change-Id: Ia32c2262d4d871c31b141c23e8f49bade7720a8a
Signed-off-by: ZijianGuo <guozijn@gmail.com>
changes/31/739931/1
ZijianGuo 1 year ago
parent
commit
27a628f03b
  1. 4
      zaqarclient/queues/v2/cli.py

4
zaqarclient/queues/v2/cli.py

@ -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…
Cancel
Save