From 1343f98e7343914108e256d9d15436041a769e26 Mon Sep 17 00:00:00 2001 From: Jon Wayne Parrott Date: Mon, 28 Aug 2017 11:23:40 -0700 Subject: [PATCH] Fix argpraser for pubsub subscriber Change-Id: I776863091846ee8ff8a70078c8b8d5498cf81ed6 --- samples/snippets/subscriber.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/snippets/subscriber.py b/samples/snippets/subscriber.py index aef2ab679..401faaab3 100644 --- a/samples/snippets/subscriber.py +++ b/samples/snippets/subscriber.py @@ -142,7 +142,7 @@ def callback(message): delete_subscription( args.project, args.subscription_name) elif args.command == 'receive': - receive_messages(args.project, args.topic_name, args.subscription_name) + receive_messages(args.project, args.subscription_name) elif args.command == 'receive-flow-control': receive_messages_with_flow_control( - args.project, args.topic_name, args.subscription_name) + args.project, args.subscription_name)