From 27a628f03b81917dbddae9eec6861d11c577fe15 Mon Sep 17 00:00:00 2001 From: ZijianGuo Date: Wed, 8 Jul 2020 17:08:29 +0800 Subject: [PATCH] Fix the error of parameter passing Change-Id: Ia32c2262d4d871c31b141c23e8f49bade7720a8a Signed-off-by: ZijianGuo --- zaqarclient/queues/v2/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zaqarclient/queues/v2/cli.py b/zaqarclient/queues/v2/cli.py index b2961a7a..b330de7b 100644 --- a/zaqarclient/queues/v2/cli.py +++ b/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)