Skip to content

Commit 190e148

Browse files
gcbirzandhermes
authored andcommitted
Fix order of parameters (googleapis#4636)
1 parent a62931a commit 190e148

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/pubsub/subscriber/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ to subscribe to, and it must already exist. Once you have that, it is easy:
4040
# values for your application.
4141
topic_name = 'projects/{project}/topics/{topic}'
4242
sub_name = 'projects/{project}/subscriptions/{subscription}'
43-
subscriber.create_subscription(topic_name, sub_name)
43+
subscriber.create_subscription(sub_name, topic_name)
4444
4545
4646
Pulling a Subscription

0 commit comments

Comments
 (0)