From 190e1487a2da098e5528a2781b87fe3bdee5bd75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?George-Cristian=20B=C3=AErzan?= Date: Wed, 20 Dec 2017 18:43:46 +0200 Subject: [PATCH] Fix order of parameters (#4636) --- docs/pubsub/subscriber/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pubsub/subscriber/index.rst b/docs/pubsub/subscriber/index.rst index 016d72857081..9c150453041d 100644 --- a/docs/pubsub/subscriber/index.rst +++ b/docs/pubsub/subscriber/index.rst @@ -40,7 +40,7 @@ to subscribe to, and it must already exist. Once you have that, it is easy: # values for your application. topic_name = 'projects/{project}/topics/{topic}' sub_name = 'projects/{project}/subscriptions/{subscription}' - subscriber.create_subscription(topic_name, sub_name) + subscriber.create_subscription(sub_name, topic_name) Pulling a Subscription