Skip to content

Commit 29682fb

Browse files
author
Jon Wayne Parrott
committed
Fix argpraser for pubsub subscriber
Change-Id: I776863091846ee8ff8a70078c8b8d5498cf81ed6
1 parent 3457791 commit 29682fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pubsub/cloud-client/subscriber.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def callback(message):
142142
delete_subscription(
143143
args.project, args.subscription_name)
144144
elif args.command == 'receive':
145-
receive_messages(args.project, args.topic_name, args.subscription_name)
145+
receive_messages(args.project, args.subscription_name)
146146
elif args.command == 'receive-flow-control':
147147
receive_messages_with_flow_control(
148-
args.project, args.topic_name, args.subscription_name)
148+
args.project, args.subscription_name)

0 commit comments

Comments
 (0)