Skip to content

Commit 1343f98

Browse files
Jon Wayne Parrottplamut
authored andcommitted
Fix argpraser for pubsub subscriber
Change-Id: I776863091846ee8ff8a70078c8b8d5498cf81ed6
1 parent 8c5312c commit 1343f98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/snippets/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)